mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-20 23:24:18 +02:00
Whoops, remove thing where pressing f would synthesize an error
This commit is contained in:
parent
9bee37ee93
commit
93e8370b2a
2 changed files with 2 additions and 2 deletions
2
go.mod
2
go.mod
|
|
@ -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
|
||||
|
|
|
|||
2
ui/ui.go
2
ui/ui.go
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue