Skip to content

Commit 640f2c5

Browse files
committed
fix vim messed up dims
1 parent d166f05 commit 640f2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ssh/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ func ExecuteSSHShell(cfg SSHConfig) error {
288288
// Clear the screen to get scrollback height
289289
clearScreen()
290290

291-
width, height, err := term.GetSize(int(os.Stdin.Fd()))
291+
width, height, err := term.GetSize(int(os.Stdout.Fd()))
292292
if err != nil {
293293
width = 80
294294
height = 40

0 commit comments

Comments
 (0)