mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-09 15:50:01 +00:00
Fix tailssh pixels
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user