diff --git a/xs/xs.go b/xs/xs.go index e47c049..6fcff2c 100755 --- a/xs/xs.go +++ b/xs/xs.go @@ -35,6 +35,7 @@ import ( "blitter.com/go/xs/logger" "blitter.com/go/xs/spinsult" "blitter.com/go/xs/xsnet" + "github.com/mattn/go-isatty" //isatty "github.com/mattn/go-isatty" ) @@ -1030,11 +1031,10 @@ func main() { //nolint: funlen, gocyclo // === END Login phase - // === Terminal mode adjustment for session if shellMode { - if true { //isatty.IsTerminal(os.Stdin.Fd()) { + if isatty.IsTerminal(os.Stdin.Fd()) { oldState, err = xs.MakeRaw(os.Stdin) if err != nil { panic(err)