Skip to content

Commit ed5af14

Browse files
authored
Merge pull request #130 from fiatjaf/go-tty-v2
go-tty: bump to v2.
2 parents b41260f + e5f4b07 commit ed5af14

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ require (
1717
github.com/mark3labs/mcp-go v0.8.3
1818
github.com/markusmobius/go-dateparser v1.2.3
1919
github.com/mattn/go-isatty v0.0.20
20-
github.com/mattn/go-tty v0.0.7
2120
github.com/mdp/qrterminal/v3 v3.2.1
2221
github.com/puzpuzpuz/xsync/v3 v3.5.1
2322
github.com/stretchr/testify v1.10.0
@@ -32,6 +31,7 @@ require (
3231
fiatjaf.com/lib v0.3.7
3332
github.com/hanwen/go-fuse/v2 v2.9.0
3433
github.com/itchyny/gojq v0.12.19
34+
github.com/mattn/go-tty/v2 v2.0.0
3535
)
3636

3737
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D
200200
github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk=
201201
github.com/mattn/go-runewidth v0.0.19 h1:v++JhqYnZuu5jSKrk9RbgF5v4CGUjqRfBm05byFGLdw=
202202
github.com/mattn/go-runewidth v0.0.19/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs=
203-
github.com/mattn/go-tty v0.0.7 h1:KJ486B6qI8+wBO7kQxYgmmEFDaFEE96JMBQ7h400N8Q=
204-
github.com/mattn/go-tty v0.0.7/go.mod h1:f2i5ZOvXBU/tCABmLmOfzLz9azMo5wdAaElRNnJKr+k=
203+
github.com/mattn/go-tty/v2 v2.0.0 h1:AgXDfbKcENaiQbjdQ+o2ZusbtiaOhK1ArFD75d5U6qk=
204+
github.com/mattn/go-tty/v2 v2.0.0/go.mod h1:azVwsnH46TUJRQPRp/IrUT+8nRkkvjvkESJJxAA4Y48=
205205
github.com/mdp/qrterminal/v3 v3.2.1 h1:6+yQjiiOsSuXT5n9/m60E54vdgFsw0zhADHhHLrFet4=
206206
github.com/mdp/qrterminal/v3 v3.2.1/go.mod h1:jOTmXvnBsMy5xqLniO0R++Jmjs2sTm9dFSuQ5kpz/SU=
207207
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4=

helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"github.com/fatih/color"
2828
jsoniter "github.com/json-iterator/go"
2929
"github.com/mattn/go-isatty"
30-
"github.com/mattn/go-tty"
30+
"github.com/mattn/go-tty/v2"
3131
"github.com/urfave/cli/v3"
3232
"golang.org/x/term"
3333
)

helpers_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"fiatjaf.com/nostr/nip49"
1414
"github.com/chzyer/readline"
1515
"github.com/fatih/color"
16-
"github.com/mattn/go-tty"
16+
"github.com/mattn/go-tty/v2"
1717
"github.com/urfave/cli/v3"
1818
)
1919

0 commit comments

Comments
 (0)