use send-keys -R to clear terminal and remove the sleep call

This commit is contained in:
Gregory Pakosz 2021-11-29 22:24:48 +01:00
parent 0fe760fa6d
commit a453b7fe60
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ set -g display-time 1000 # slightly longer status messages display time
set -g status-interval 10 # redraw status line every 10 seconds
# clear both screen and history
bind -n C-l send-keys C-l \; run 'sleep 0.1' \; clear-history
bind -n C-l send-keys -R \; clear-history
# activity
set -g monitor-activity on