Giter Site home page Giter Site logo

Crash when creating world + inability to name worlds (experimental 2024-06-xx,tested up to experimental 2024-05-30) about cataclysm-bn HOT 1 OPEN

SilearFlare avatar SilearFlare commented on July 1, 2024
Crash when creating world + inability to name worlds (experimental 2024-06-xx,tested up to experimental 2024-05-30)

from cataclysm-bn.

Comments (1)

fakepass avatar fakepass commented on July 1, 2024

I have also encountered this bug (also curses, linux, very recent self-compiled game) and did some poking around. It seems the issue here is that the world name prompt, when presented with a character that does something special (in this case, tab) appends that character to the world name in addition to doing whatever it is that character should do. Pressing tab appends a tab character to the world name, then checks whether the world name is valid before trying to finish things and shows you that error message because you're not allowed to put tabs in a world name.

When I rebound world creation to x, it just appended x to the name before asking me whether I was sure.

The function in question is, I believe, worldfactory::show_worldgen_tab_confirm, which I believe calls string_input_popup::query_string to handle input. I cannot truthfully say I understand either function well enough to feel comfortable editing them.

from cataclysm-bn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.