Repository navigation
Command Insert: fix the Ctrl+Space resurrect modifiers - #5982
Merged
GoogleFrog merged 1 commit intoNov 28, 2026
Merged
Conversation
Ctrl+Space resurrect reads CMD.OPT.META, but that table does not exist. Use CMD.OPT_META when removing the modifier bits. File: LuaUI/Widgets/cmd_commandinsert.lua Testing: game tests pending. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use
CMD.OPT_METAinstead of the nonexistentCMD.OPT.METAfor Ctrl+Space resurrect insertion. The old expression errors before sending the order.Testing: a source/API probe in a live engine loaded the archive function and supplied stub inputs. Master/PR/master sent 0/1/0 INSERT orders. The PR inserted at position 0 with ALT outside, Ctrl/Meta removed inside, and all four area parameters preserved. Ctrl-only, Meta-only and unmodified controls agreed. This did not test physical key input or actual resurrection.
AI disclosure: found by OpenAI Codex in a code audit; the live test was written by Codex; checked, edited and tested with Claude Code.
🤖 Generated with Claude Code