diff options
Diffstat (limited to 'termui/input_popup.go')
-rw-r--r-- | termui/input_popup.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/termui/input_popup.go b/termui/input_popup.go index a60b1c04..373d74a4 100644 --- a/termui/input_popup.go +++ b/termui/input_popup.go @@ -2,7 +2,7 @@ package termui import ( "errors" - "io/ioutil" + "io" "github.com/awesome-gocui/gocui" ) @@ -78,7 +78,7 @@ func (ip *inputPopup) close(g *gocui.Gui, v *gocui.View) error { func (ip *inputPopup) validate(g *gocui.Gui, v *gocui.View) error { ip.title = "" - content, err := ioutil.ReadAll(v) + content, err := io.ReadAll(v) if err != nil { return err } |