mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 06:25:13 +02:00
...
This commit is contained in:
@@ -96,15 +96,17 @@ class Callbacks:
|
||||
|
||||
def handle_remote_ssh(self, msg):
|
||||
from kittens.ssh.main import get_ssh_data
|
||||
for line in get_ssh_data(msg):
|
||||
self.pty.write_to_child(line)
|
||||
self.pty.process_input_from_child(timeout=0)
|
||||
if self.pty:
|
||||
for line in get_ssh_data(msg):
|
||||
self.pty.write_to_child(line)
|
||||
self.pty.process_input_from_child(timeout=0)
|
||||
|
||||
def handle_remote_echo(self, msg):
|
||||
from base64 import standard_b64decode
|
||||
data = standard_b64decode(msg)
|
||||
self.pty.write_to_child(data)
|
||||
self.pty.process_input_from_child(timeout=0)
|
||||
if self.pty:
|
||||
data = standard_b64decode(msg)
|
||||
self.pty.write_to_child(data)
|
||||
self.pty.process_input_from_child(timeout=0)
|
||||
|
||||
|
||||
def filled_line_buf(ynum=5, xnum=5, cursor=Cursor()):
|
||||
|
||||
Reference in New Issue
Block a user