Whoops, remove thing where pressing f would synthesize an error

This commit is contained in:
Christian Rocha 2020-05-22 15:37:34 -04:00 committed by Christian Muehlhaeuser
commit 93e8370b2a
2 changed files with 2 additions and 2 deletions

2
go.mod
View file

@ -18,3 +18,5 @@ require (
golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2 // indirect
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299
)
replace github.com/charmbracelet/charm => ../charm

View file

@ -134,8 +134,6 @@ func update(msg boba.Msg, mdl boba.Model) (boba.Model, boba.Cmd) {
case boba.KeyMsg:
switch msg.String() {
case "f":
m.err = errors.New("Fatal.")
case "q":
fallthrough
case "esc":