Nicholas Marriott wrote (2022-12-16 09:13 CET): > CVSROOT: /cvs > Module name: src > Changes by: n...@cvs.openbsd.org 2022/12/16 01:13:40 > > Modified files: > usr.bin/tmux : arguments.c cmd-find-window.c cmd-send-keys.c > tmux.1 tmux.h > > Log message: > Add send-keys -K to handle keys directly as if typed (so look up in key > table). GitHub issue 3361.
This broke sending keys to a detached session: Before: ./obj/tmux new-session -s mysession -d ./obj/tmux send-keys -t mysession:0 '# Hello World!' Enter After: ./obj/tmux new-session -s mysession -d ./obj/tmux send-keys -t mysession:0 '# Hello World!' Enter no current client - Stefan