Skip to content

Commit

Permalink
I broke the Windows build...
Browse files Browse the repository at this point in the history
Disregard the tty variable, as the other line discipline code is ignored
on Windows.
  • Loading branch information
gcla committed Jun 26, 2022
1 parent 2fddcc4 commit 0b29e32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion tty/tty_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0b29e32

Please sign in to comment.