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

Chat console: Prevent input loss on double open #14603

Merged
merged 1 commit into from May 3, 2024

Conversation

SmallJoker
Copy link
Member

Fixes #14585

To do

This PR is Ready for Review.

How to test

  1. fps_max = 5
  2. Press T (chat) and F10 (long chat history) at once
  3. No more input loss

This PR fixes the issue twice. If the NDEBUG code should be kept as-is then I could undo that.

@Montandalar
Copy link
Contributor

Tested.

Can confirm this fixes the issue with being unable to open chat after pressing / and F10 at the same time.
Can confirm this also fixes the issue with pressing / and t at the same time causing no further input to be taken by the program.

Copy link
Member

@sfan5 sfan5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sfan5 sfan5 merged commit f0bb531 into minetest:master May 3, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Pressing both "/" and "t" keys causes Minetest to be unresponsive
3 participants