File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
3737require (
Original file line number Diff line number Diff line change @@ -200,8 +200,8 @@ github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D
200200github.com/mattn/go-runewidth v0.0.12 /go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk =
201201github.com/mattn/go-runewidth v0.0.19 h1:v++JhqYnZuu5jSKrk9RbgF5v4CGUjqRfBm05byFGLdw =
202202github.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 =
205205github.com/mdp/qrterminal/v3 v3.2.1 h1:6+yQjiiOsSuXT5n9/m60E54vdgFsw0zhADHhHLrFet4 =
206206github.com/mdp/qrterminal/v3 v3.2.1 /go.mod h1:jOTmXvnBsMy5xqLniO0R++Jmjs2sTm9dFSuQ5kpz/SU =
207207github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4 =
Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments