Expected Behavior
Pasting text via Ctrl+Shift+V should insert the clipboard content into the input field without crashing.
Actual Behavior
When pasting any text with Ctrl+Shift+V, Command Code panics and crashes:
thread '<unnamed>' panicked at src/lib.rs:72:37:
called `Result::unwrap()` on an `Err` value: DisplayParsingError(DisplayNotSet)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate packtrace
fatal runtime error: failed to initiate panic, error 5
Workaround attempted: export DISPLAY=:0 — did not fix.
Workaround attempted: export TERM=xterm-256color — did not fix.
Only non-interactive mode (cmd -p "...") works without crashing.
System: Linux VPS, connected via SSH, no X11/Wayland, TERM=xterm-256color
Version: 0.25.10
Command Code Version
0.25.10
Operating System
Linux
Terminal/IDE
SSH from [my local terminal - alacritty]
Shell
fish
Additional context
- Environment: Headless VPS with no display server (no X11, no Wayland)
- Connection: SSH from local machine
- DISPLAY variable is unset by default
- Setting DISPLAY=:0 does not resolve the issue
- Paste works fine in all other terminal programs on the same VPS (vim, nano, etc.)
- Non-interactive mode (cmd -p "query") works correctly
- Also reproduced with cmd "$(cat file.txt)" piped input
Expected Behavior
Pasting text via Ctrl+Shift+V should insert the clipboard content into the input field without crashing.
Actual Behavior
Command Code Version
0.25.10
Operating System
Linux
Terminal/IDE
SSH from [my local terminal - alacritty]
Shell
fish
Additional context