Skip to content

v0.12.1

Choose a tag to compare

@github-actions github-actions released this 07 Nov 05:56
· 4 commits to main since this release

myrtui 0.12.1

Fixes

  • Ctrl-J / Shift+Enter inside panes: myrtui now starts its tmux server with extended-keys on (tmux >= 3.5). TUIs that request xterm modifyOtherKeys receive distinct Ctrl-J / Shift+Enter sequences instead of a bare LF / CR, so "newline" no longer submits the prompt.
  • iTerm2 3.7.x: myrtui requests Kitty keyboard flags 1 instead of Textual's default 25. iTerm2's report-all-keys path was dropping the Control modifier (Ctrl-J arrived as a plain j, Ctrl-C as a plain c); other terminals keep Textual's default.
  • Key routing now normalizes xterm/Kitty associated-text key names (shift+CR, ctrl+LF) to S-Enter / C-j.
  • New MYRTUI_KEY_DEBUG=1 writes every key (name, character, focus, pane) to <tmp>/myrtui-key-debug-<pid>.log for troubleshooting.
  • MYRTUI_KITTY_FLAGS can override the requested Kitty flags for diagnostics.

Upgrade

pip install -U myrtui
pipx upgrade myrtui

Inside panes, Ctrl-J / Shift+Enter need tmux >= 3.5 and a TUI that requests modified keys. In iTerm2, keep Settings -> Profiles -> Keys -> General -> "Apps can change how keys are reported" enabled.