Skip to content

Fix issue on quitting Lua console - #5597

Merged
sturnclaw merged 2 commits into
pioneerspacesim:masterfrom
zonkmachine:luaescape
Jul 23, 2023
Merged

Fix issue on quitting Lua console#5597
sturnclaw merged 2 commits into
pioneerspacesim:masterfrom
zonkmachine:luaescape

Conversation

@zonkmachine

@zonkmachine zonkmachine commented Jul 20, 2023

Copy link
Copy Markdown
Member

Fixes #5287, fixes #5598.

Escaping out of the Lua console on keypress created issues since the key was then released in another window and escape key release action performed. Fixed by exiting Lua console on escape key release instead of press.

zonkmachine and others added 2 commits July 20, 2023 16:30
Key release event was eaten by ImGui input focus - delay opening of console until key release instead.
@sturnclaw
sturnclaw self-requested a review July 23, 2023 00:21
@sturnclaw
sturnclaw merged commit 95e2469 into pioneerspacesim:master Jul 23, 2023
@sturnclaw

Copy link
Copy Markdown
Member

Thanks @zonkmachine! Appreciate you digging into the issue!

@zonkmachine
zonkmachine deleted the luaescape branch July 23, 2023 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lua console doesn't handle back keyboard focus nicely Some issues around exiting the Lua console

2 participants