Hooking KSH up to the system clipboard? (macOS) #724
posguy99
started this conversation in
New features
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
example (for
zsh
) https://apple.stackexchange.com/questions/336228/make-ctrl-k-in-terminal-copy-to-the-system-clipboard?rq=1The problem as I see it is two-fold. The KEYBD trap happens BEFORE the defined function of the key is processed, and
ksh
doesn't expose the result of the editing key(s).Zsh
gets around the first by performing the function of the key inside the binding, and it has a variable that gives access to the result.Is there a way to do this without involving something like
tmux
?Beta Was this translation helpful? Give feedback.
All reactions