Skip to content

Exit shortcut keys don't work when nnn is launched in the tmux command #1828

Closed Answered by kaysond
kaysond asked this question in Q&A
Discussion options

You must be logged in to vote

Turns out it's because when you run tmux with a command specified, it uses default tty settings, which have xon/xoff. If you run it with your shell first, it inherits those tty options which in my case, apparently, it turns those off.

The example https://github.com/jarun/nnn/blob/master/misc/quitcd/quitcd.fish file shows the stty commands to fix this

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kaysond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant