Fix tailssh pixels

This commit is contained in:
世界
2026-08-30 17:41:46 +08:00
parent 0a5078a848
commit ec497c7dda
8 changed files with 61 additions and 32 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ func OpenNativeShellSession(
cwd,
int(uid), int(gid),
common.Map(iteratorToArray[int32](groups), func(g int32) int { return int(g) }),
uint16(rows), uint16(cols),
uint16(rows), uint16(cols), 0, 0,
)
if err != nil {
return nil, err
@@ -58,7 +58,7 @@ func (s *nativeShellSession) MasterFD() int32 {
}
func (s *nativeShellSession) Resize(rows, cols int32) error {
return s.shell.Resize(uint16(rows), uint16(cols))
return s.shell.Resize(uint16(rows), uint16(cols), 0, 0)
}
func (s *nativeShellSession) Signal(sig int32) error {