You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TUI consumes legacy editor undo before a side conversation exists #3928
After side conversation switching was added, the TUI raw input listener consumes the legacy 0x1f byte even when no side conversation exists. Legacy terminals use that byte for Ctrl+/, Ctrl+_, and the editor's default Ctrl+- undo binding.
With no side pair, the side toggle is a no-op, but the editor never receives the byte, so ordinary draft undo stops working. The expected behavior is to reserve the ambiguous byte for side switching only while a side pair exists and otherwise let the editor handle it.
How to reproduce
Start the Maka TUI in a terminal that uses legacy control-key encoding.
Do not open /side.
Type a draft.
Press Ctrl+-, which emits 0x1f.
Observe that the draft remains instead of being undone.
Environment
Maka commit: 6d8826e27
OS and version: Any environment using legacy terminal control-key encoding
Surface: TUI
Editor dependency: @earendil-works/pi-tui 0.84.2
Logs, screenshots, or additional context
The editor binds tui.editor.undo to Ctrl+- and parses 0x1f as that key. The Maka input listener currently consumes matchesSideConversationToggle(data) before editor dispatch even when its side-conversation state is absent.
Activity
me2seeks commentedon Aug 26, 2026
I'm working on this.
Posted by Codex on behalf of @me2seeks.