From 0b29e324732a3a3887884dab57491f1fcbf774dd Mon Sep 17 00:00:00 2001 From: Graham Clark Date: Sun, 26 Jun 2022 17:07:44 -0400 Subject: [PATCH] I broke the Windows build... Disregard the tty variable, as the other line discipline code is ignored on Windows. --- go.mod | 2 +- go.sum | 2 ++ tty/tty_windows.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 0f195e8..818811a 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/blang/semver v3.5.1+incompatible github.com/fsnotify/fsnotify v1.4.9 // indirect github.com/gcla/deep v1.0.2 - github.com/gcla/gowid v1.3.1-0.20220626203558-a594805196f2 + github.com/gcla/gowid v1.3.1-0.20220626210608-5f3e0e82f1ad github.com/gcla/tail v1.0.1-0.20190505190527-650e90873359 github.com/gcla/term v0.0.0-20220601234708-3e6af2ebff27 github.com/gdamore/tcell/v2 v2.5.0 diff --git a/go.sum b/go.sum index 3ac920c..3a2259e 100644 --- a/go.sum +++ b/go.sum @@ -63,6 +63,8 @@ github.com/gcla/gowid v1.3.1-0.20220603022106-4d04cba8013a h1:8kh1ORv/P5ruPPoZBM github.com/gcla/gowid v1.3.1-0.20220603022106-4d04cba8013a/go.mod h1:7T4Xzfznq31XvQyAOX+SZzQjvF7RX16mjXDXGB7R/44= github.com/gcla/gowid v1.3.1-0.20220626203558-a594805196f2 h1:lTVa5VHxePP+1aMijXK0+McQdHL6RFFciSFp6VZ+oEk= github.com/gcla/gowid v1.3.1-0.20220626203558-a594805196f2/go.mod h1:7T4Xzfznq31XvQyAOX+SZzQjvF7RX16mjXDXGB7R/44= +github.com/gcla/gowid v1.3.1-0.20220626210608-5f3e0e82f1ad h1:3ST4tAhRrpAEU424Yr4uAKbMZ88JotTTuDViOLLVh/M= +github.com/gcla/gowid v1.3.1-0.20220626210608-5f3e0e82f1ad/go.mod h1:7T4Xzfznq31XvQyAOX+SZzQjvF7RX16mjXDXGB7R/44= github.com/gcla/tail v1.0.1-0.20190505190527-650e90873359 h1:3xEhacR7pIJV8daurdBygptxhzTJeYFqJp1V6SDl+pE= github.com/gcla/tail v1.0.1-0.20190505190527-650e90873359/go.mod h1:Wn+pZpM98JHSOYkPDtmdvlqmc0OzQGHWOsHB2d28WtQ= github.com/gcla/term v0.0.0-20220601234708-3e6af2ebff27 h1:OmzD2vZl1UeSblMmUo4mKjnrtsn+VLxhkkqnDOPHrXY= diff --git a/tty/tty_windows.go b/tty/tty_windows.go index 80a7dd8..a69abef 100644 --- a/tty/tty_windows.go +++ b/tty/tty_windows.go @@ -18,7 +18,7 @@ func (t *TerminalSignals) Restore() { t.set = false } -func (t *TerminalSignals) Set() error { +func (t *TerminalSignals) Set(tty string) error { t.set = true return nil }