From c0c93371490ee0b952c2743bb78f99cbe20f7f4f Mon Sep 17 00:00:00 2001 From: hongboliu Date: Fri, 25 Dec 2020 17:17:15 +0800 Subject: [PATCH] Add default small sleep time --- scripts/copy_line.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/copy_line.sh b/scripts/copy_line.sh index 20a70e1..26d7807 100755 --- a/scripts/copy_line.sh +++ b/scripts/copy_line.sh @@ -27,6 +27,7 @@ add_sleep_for_remote_shells() { go_to_the_beginning_of_current_line() { if [ "$(shell_mode)" == "emacs" ]; then tmux send-key 'C-a' + sleep 0.05 else tmux send-key 'Escape' '0' fi