v0.1.7 backend fixes, go and dependency updates

This commit is contained in:
2026-09-08 19:58:14 -04:00
parent c246f38170
commit ea9a20c5de
6 changed files with 30 additions and 10 deletions
-4
View File
@@ -33,10 +33,6 @@ func newBackend() Backend {
}
func (b *windowsBackend) Init() error {
if os.Getenv("WT_SESSION") == "" && os.Getenv("WT_PROFILE_ID") == "" {
return fmt.Errorf("Windows Terminal required: WT_SESSION unset; conhost lacks alt screen")
}
if err := windows.GetConsoleMode(b.stdin, &b.oldStdinMode); err != nil {
return fmt.Errorf("GetConsoleMode stdin: %w", err)
}