From 9cc93cc98f944fbcf2e9d7f0b6cdc779016b092a Mon Sep 17 00:00:00 2001 From: Jorge Morante Date: Sat, 2 Sep 2023 10:52:17 +0200 Subject: [PATCH] wait for tmux set-buffer to finish --- src/tmux.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tmux.cr b/src/tmux.cr index 1082511..ad43dcb 100644 --- a/src/tmux.cr +++ b/src/tmux.cr @@ -209,7 +209,7 @@ class Tmux cmd.input.print(value) cmd.input.flush - cmd.close + cmd.wait nil end