Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exiting game with CTRL+C leaves console in mouse tracking mode #77011

Closed
sparr opened this issue Oct 13, 2024 · 2 comments · Fixed by #75999
Closed

Exiting game with CTRL+C leaves console in mouse tracking mode #77011

sparr opened this issue Oct 13, 2024 · 2 comments · Fixed by #75999
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@sparr
Copy link
Member

sparr commented Oct 13, 2024

Describe the bug

When playing in curses mode, I can press ctrl+c to get the "Really Quit?" prompt. If I select Yes then the game exits, putting me back in the terminal where I started the game. Now if I move my mouse or click the mouse buttons, I see escape codes filling the command line.

Attach save file

N/A

Steps to reproduce

  1. Launch game
  2. Ctrl+C
  3. Y, enter
  4. move mouse

Expected behavior

No effect from moving the mouse.

Screenshots

No response

Versions and configuration

  • OS: Linux
    • OS Version: LSB Version: n/a; Distributor ID: EndeavourOS; Description: EndeavourOS Linux; Release: rolling; Codename: rolling;
  • Game Version: 9437078 [64-bit]
  • Graphics Version: Curses
  • Game Language: System language [] (edit: English)
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Portal Storms Ignore NPCs [personal_portal_storms],
    Slowdown Fungal Growth [no_fungal_growth]
    ]

Additional context

This problem does not occur when exiting the game normally from the main menu.

@sparr sparr added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Oct 13, 2024
@NetSysFire
Copy link
Member

Might be a regression? #73049

I feel like this was reported in the past, too as it is very much a known issue, but I can not find a duplicate right now

@sparr
Copy link
Member Author

sparr commented Oct 13, 2024

I also get the "newlines without carriage returns" behavior on [very early] crashes currently, but on a black screen since I haven't made it to rendering anything yet. It's what stops me from getting good crash reports for #77001

alef added a commit to alef/Cataclysm-DDA that referenced this issue Oct 14, 2024
The default sighandler should be called shortly after `return` (?)

Affects CleverRaven#77011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants