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

imgui does not clean up the screen when the game crashes #73049

Closed
NetSysFire opened this issue Apr 15, 2024 · 1 comment · Fixed by #73272
Closed

imgui does not clean up the screen when the game crashes #73049

NetSysFire opened this issue Apr 15, 2024 · 1 comment · Fixed by #73272
Labels
curses Things specific to the curses variant of the game Info / User Interface Game - player communication, menus, etc. (S2 - Confirmed) Bug that's been confirmed to exist

Comments

@NetSysFire
Copy link
Member

Describe the bug

image

Attach save file

n/a

Steps to reproduce

  1. Start any game in curses.
  2. Make the game crash via any means, but just try doing so with the deliberate crash in the debug menu

Expected behavior

It does not do that.

Again confirmed because someone told me about this bug without reporting it for themselves and it turns out I can reproduce.

Screenshots

No response

Versions and configuration

  • OS: Linux
    • OS Version: LSB Version: n/a; Distributor ID: Arch; Description: Arch Linux; Release: rolling; Codename: n/a;
  • Game Version: cdda-experimental-2024-04-14-2000 2716469 [64-bit]
  • Graphics Version: Curses
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Slowdown Fungal Growth [no_fungal_growth],
    Bionic Professions [package_bionic_professions]
    ]

Additional context

No response

@NetSysFire NetSysFire added Info / User Interface Game - player communication, menus, etc. (S2 - Confirmed) Bug that's been confirmed to exist curses Things specific to the curses variant of the game labels Apr 15, 2024
@NetSysFire NetSysFire added this to ImGui Apr 15, 2024
@NetSysFire NetSysFire moved this to Todo in ImGui Apr 15, 2024
@katemonster33
Copy link
Contributor

katemonster33 commented Apr 23, 2024

there's only so much we can do to reset the state of the terminal on a crash. I will add a line in crash.cpp to turn off mouse pointer events as part of #73164 but even then I can't guarantee the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
curses Things specific to the curses variant of the game Info / User Interface Game - player communication, menus, etc. (S2 - Confirmed) Bug that's been confirmed to exist
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants