mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-13 16:28:26 -07:00
Simplify code a bit
This commit is contained in:
@@ -182,7 +182,6 @@ func Update(msg boba.Msg, m Model) (Model, boba.Cmd) {
|
||||
}
|
||||
|
||||
switch msg := msg.(type) {
|
||||
|
||||
case boba.KeyMsg:
|
||||
switch msg.Type {
|
||||
case boba.KeyBackspace:
|
||||
|
||||
Reference in New Issue
Block a user