v0.1.7 backend fixes, go and dependency updates

This commit is contained in:
lixen committed 2026-09-08 19:58:14 -04:00
1 parent c246f38170
commit ea9a20c5de
6 files changed
+30 -10

No files matched your search

+3 -3
View File
@@ -43,10 +43,10 @@ func resetTerminalMode() {
defer tty.Close()
fd := int(tty.Fd())
// Get current termios, enable ECHO and ICANON
if termios, err := unix.IoctlGetTermios(fd, unix.TCGETS); err == nil {
if termios, err := unix.IoctlGetTermios(fd, tcgets); err == nil {
termios.Lflag |= unix.ECHO | unix.ICANON | unix.ISIG | unix.IEXTEN
termios.Iflag |= unix.ICRNL
unix.IoctlSetTermios(fd, unix.TCSETS, termios)
unix.IoctlSetTermios(fd, tcsets, termios)
}
}
}
}