mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2026-10-02 07:56:18 +02:00
Make TerminalSession#clear block until the screen is cleared
This commit is contained in:
1 parent
2c465a932a
commit
5151adfe40
1 file changed
+1
@@ -28,6 +28,7 @@ class TerminalSession
|
||||
|
||||
def clear
|
||||
send_keys('C-l')
|
||||
sleep(0.1) until content == ''
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
||||
Reference in new issue
Block a user