forked from 1b-agent/opencadstudio-upstream
Unfocused keyboard input routes through the global subscription: typed characters reach the command line, but Enter went to CommandFinalize, which only forwarded the buffer to CommandSubmit while a command was already active. At startup (before the window grabs focus) typing a command name and pressing Enter did nothing until the user clicked into the command line. Forward any non-empty buffer to CommandSubmit regardless of active-command state. Co-Authored-By: Claude Opus 4.8 <[email protected]>