1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 09:34:05 +08:00
This commit is contained in:
shylinux@163.com 2022-09-13 15:35:03 +08:00
parent db41b748ff
commit c3cc658bad

View File

@ -50,6 +50,7 @@ func _xterm_get(m *ice.Message, h string, must bool) *os.File {
for { for {
if n, e := tty.Read(buf); !m.Warn(e) { if n, e := tty.Read(buf); !m.Warn(e) {
_xterm_socket(m, h, base64.StdEncoding.EncodeToString(buf[:n])) _xterm_socket(m, h, base64.StdEncoding.EncodeToString(buf[:n]))
m.Option("raw", string(buf[:n]))
web.PushNoticeGrow(m, "data") web.PushNoticeGrow(m, "data")
} else { } else {
break break