From a6e422a0bb8806c492e8d7598006064e3ac2de1d Mon Sep 17 00:00:00 2001 From: harveyshao Date: Sat, 6 Aug 2022 00:29:26 +0800 Subject: [PATCH] opt some --- misc/ssh/service_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/ssh/service_darwin.go b/misc/ssh/service_darwin.go index 7732db26..69ce4c93 100644 --- a/misc/ssh/service_darwin.go +++ b/misc/ssh/service_darwin.go @@ -42,7 +42,7 @@ func _ssh_handle(m *ice.Message, meta ice.Maps, c net.Conn, channel ssh.Channel, } defer tty.Close() - h := m.Rich(CHANNEL, "", kit.Data(mdb.STATUS, tcp.OPEN, TTY, tty.Name(), INPUT, pty, OUTPUT, tty, meta)) + h := mdb.Rich(m, CHANNEL, "", kit.Data(mdb.STATUS, tcp.OPEN, TTY, tty.Name(), INPUT, pty, OUTPUT, tty, meta)) meta[CHANNEL] = h for request := range requests {