summaryrefslogtreecommitdiff
path: root/rc/tools/python
diff options
context:
space:
mode:
authorMatthew Forrester <matthew.forrester@speechmarks.com>2021-01-16 15:51:41 +0000
committerMatthew Forrester <matthew.forrester@speechmarks.com>2021-01-16 15:57:32 +0000
commitc9d50660f19d2130113c46aff0f0e7b3b8fe0af7 (patch)
tree4561f72de3914a09066e58ee214407b89750adcc /rc/tools/python
parent310d0baaa63aaaa0b7394feba8929cfebf74ce55 (diff)
rc repl x11: allow arg for repl send & refocus kak
tmux-send-text allows sending an argument, when supplied the argument will be sent to the REPL instead of the current selection. tmux-send-text also keeps kak focussed, which does not happen in the x11 variant as it uses xdotool to switch window. this patch allows: * Passing an argument to x11-send-text, so that value will be sent instead of the current selection. * We capture the window id of the current (presumably kak window) before we use xdotool to switch window. We can therefore switch back to kak afterwards (which we do)
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions