Simplify code a bit

This commit is contained in:
Christian Muehlhaeuser
2020-05-25 14:12:30 +02:00
parent e8b7e510bb
commit cd4e02b1a8
4 changed files with 4 additions and 16 deletions

View File

@@ -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: