refactor: 终端记录调整

This commit is contained in:
meilin.huang
2023-12-06 13:17:50 +08:00
parent 9de8dae954
commit 790d644c34
7 changed files with 63 additions and 126 deletions

View File

@@ -43,7 +43,7 @@ func NewTerminalSession(sessionId string, ws *websocket.Conn, cli *Cli, rows, co
}
if recorder != nil {
recorder.WriteHeader(rows-5, cols)
recorder.WriteHeader(rows-3, cols)
}
ctx, cancel := context.WithCancel(context.Background())