我知道如何复制和粘贴termux(https://termux.com/),但对于termux来说它是不一样的:float。如何复制和粘贴termux:float?
答案 0 :(得分:1)
根据this github issue,没有本机功能。
但是,您可以通过如下更改tmux配置来编写解决方法:
bind V run-shell "termux-clipboard-get >~/.tmux-buffer-tmp" \; load-buffer -b tmp-copy-buffer ~/.tmux-buffer-tmp \; paste-buffer -b tmp-copy-buffer -d \; run-shell -b "rm ~/.tmux-buffer-tmp"
bind C save-buffer ~/.tmux-buffer-tmp \; run-shell "cat ~/.tmux-buffer-tmp | termux-clipboard-set " \; run-shell -b "rm ~/.tmux-buffer-tmp"