diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-05 19:25:09 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-05 19:25:09 +0200 |
| commit | c3adb86fda302eeb90c2b07e56aae5abaea469ce (patch) | |
| tree | 6a50addcf57519bc53d28be5981b1d9456649adb /internal/tui/eventstream/exportmodal.go | |
| parent | bab716a6a5931c211fad2f17ee2f67e8d182a7fc (diff) | |
refactor(tui): migrate source key handling to KeyPressMsg
Diffstat (limited to 'internal/tui/eventstream/exportmodal.go')
| -rw-r--r-- | internal/tui/eventstream/exportmodal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tui/eventstream/exportmodal.go b/internal/tui/eventstream/exportmodal.go index 70c57ee..ec35343 100644 --- a/internal/tui/eventstream/exportmodal.go +++ b/internal/tui/eventstream/exportmodal.go @@ -47,7 +47,7 @@ func (m ExportModal) Update(msg tea.Msg) (ExportModal, string, bool) { if !m.visible { return m, "", false } - if keyMsg, ok := msg.(tea.KeyMsg); ok { + if keyMsg, ok := msg.(tea.KeyPressMsg); ok { switch keyMsg.String() { case "esc": return m.Close(), "", false |
