mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-02-06 09:55:30 +08:00
Make TerminalSession#clear block until the screen is cleared
This commit is contained in:
parent
2c465a932a
commit
5151adfe40
@ -28,6 +28,7 @@ class TerminalSession
|
|||||||
|
|
||||||
def clear
|
def clear
|
||||||
send_keys('C-l')
|
send_keys('C-l')
|
||||||
|
sleep(0.1) until content == ''
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
def destroy
|
||||||
|
Loading…
Reference in New Issue
Block a user