Fix terminal restore state and add set themes via local vars

This commit is contained in:
2026-10-22 00:50:36 +03:00
parent b40fbc95f8
commit da0fd7ddaf
5 changed files with 91 additions and 37 deletions
+5 -2
View File
@@ -2,7 +2,10 @@ module nshell
go 1.27.2
require github.com/c-bata/go-prompt v0.2.6
require (
github.com/c-bata/go-prompt v0.2.6
golang.org/x/term v0.47.0
)
require (
github.com/mattn/go-colorable v0.1.7 // indirect
@@ -10,5 +13,5 @@ require (
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/mattn/go-tty v0.0.3 // indirect
github.com/pkg/term v1.2.0-beta.2 // indirect
golang.org/x/sys v0.0.0-20200918174421-af09f7315aff // indirect
golang.org/x/sys v0.49.0 // indirect
)