mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Lots of async changes
This commit is contained in:
parent
38eb7cdafd
commit
ed8056c5e8
35 changed files with 384 additions and 1133 deletions
|
|
@ -41,7 +41,7 @@ class TerminalSession
|
|||
tmux_command(cmd).strip
|
||||
end
|
||||
|
||||
def clear
|
||||
def clear_screen
|
||||
send_keys('C-l')
|
||||
sleep(0.1) until content == ''
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ class TerminalSession
|
|||
def tmux_command(cmd)
|
||||
out = `tmux -u -L #{tmux_socket_name} #{cmd}`
|
||||
|
||||
raise('tmux error') unless $?.success?
|
||||
raise("tmux error running: '#{cmd}'") unless $?.success?
|
||||
|
||||
out
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue