-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
Description
Bug Description
When @fingers-shift-action fails (e.g., the command path can't be resolved), tmux-fingers crashes with an unhandled File::NotFoundError but does not clean up:
- The client remains in the
fingerskey table - A
[fingers]window is left behind, renamed from the original pane's window - Every keypress hits the
Any → noopcatch-all binding, making tmux completely unresponsive - Even
q,Escape, andC-c(bound toexit) fail because the fingers process is no longer running to handlesend-input
The only recovery is manually running tmux unbind -aT fingers or tmux switch-client -T root from another terminal.
Repro
- Set
@fingers-shift-actionto a path using~(tilde is not expanded):set -g @fingers-shift-action '~/.local/bin/fingers-open {}' - Trigger fingers:
Prefix + F - Press
Shift+<hint letter>to trigger the shift action - Fingers crashes — client is now stuck in the
fingerskey table
Root cause from log
Unhandled exception: Error executing process: '~/.local/bin/fingers-open': No such file or directory (File::NotFoundError)
Expected Behavior
On any unhandled exception, tmux-fingers should:
- Switch the client back to the
rootkey table (tmux switch-client -T root) - Clean up the
[fingers]window - Log the error
Ideally, tmux-fingers should also expand ~ in action paths, or document that absolute paths are required.
Environment
- tmux-fingers: 2.6.2 (Homebrew)
- tmux: 3.5a
- macOS (Darwin 25.3.0)
Reactions are currently unavailable