mirror of
https://github.com/chenasraf/watchr.git
synced 2026-05-17 17:28:06 +00:00
fix: accept all characters when filtering
This commit is contained in:
@@ -355,7 +355,7 @@ func (m *model) handleKeyPress(msg tea.KeyMsg) (tea.Model, tea.Cmd) {
|
||||
}
|
||||
return m, nil
|
||||
default:
|
||||
if msg.Type == tea.KeyRunes {
|
||||
if len(msg.Runes) > 0 {
|
||||
m.filter += string(msg.Runes)
|
||||
m.updateFiltered()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user