- update status more often https://unix.stackexchange.com/q/358129
- run script in status https://unix.stackexchange.com/a/83418
- multiple line status bar tmux/tmux#2225
- existing keylogger that doesn't work for me https://github.com/concise/tmux-keylogger
tmux set-option status 2
tmux set -g status-interval 1
tmux set-option -g 'status-format[1]' "#[fg=red,bg=default]#(uptime | awk '{print $3}'|sed 's/,//') #[fg=blue]%a%d-%m-%Y %H:%M:%S"
tmux bind-key -n "$bindkey" run-shell "$callback_cmd" '\;' send-keys "$sendkey";
- update running tmux config to have all keypresses run a command and send-key
- command will write keypress to a file
- update 2nd line of status bar
tmux status will run command to grab most recent n keys pressed, limited to some size
tmux set-option status on
to revert to 1 line