Some app need more time to focus and handle the paste event

This commit is contained in:
BarbUk 2019-08-30 13:27:47 +04:00
parent 00df7628e9
commit 71e9e29929

2
snippy
View File

@ -192,7 +192,7 @@ run() {
# Paste into the current application. # Paste into the current application.
if is_gui; then if is_gui; then
# We need a little pause to handle the time to focus on the window # We need a little pause to handle the time to focus on the window
sleep 0.1 sleep 0.17
${GUIPASTE} ${GUIPASTE}
move_cursor "Up" $cursor_line_position move_cursor "Up" $cursor_line_position