glow/ui
Nicolas Martin c91501655f Dont panic during actions in the filtered stash view w/o items
Filterng down the stash to 0 items (no cursor is displayed as there are no items
left) caused a panic during execution of one of these actions:
- x: Delete
- m: Set Memo
- s: Stash file

This change prevents that from happening by breaking the switch statement when
there are no items left.
Also glow now uses the filtered markdown notes in the `stashHelpView` so
`m.selectedMarkdown()` cannot return a nil refernce anymore.
2020-11-17 15:57:55 -05:00
..
consts_unix.go Don't use emojis on Windows 2020-10-13 15:14:07 -04:00
consts_windows.go Don't use emojis on Windows 2020-10-13 15:14:07 -04:00
ignore_darwin.go Use filepath.Join rather than string concatenation 2020-10-05 13:54:39 +02:00
ignore_general.go Add missing comma 2020-10-05 13:54:24 +02:00
markdown.go Move markdown types into a separate file 2020-10-05 13:54:24 +02:00
pager.go Respect width flag/config setting in the TUI; closes #168 2020-10-23 23:38:28 -04:00
stash.go Dont panic during actions in the filtered stash view w/o items 2020-11-17 15:57:55 -05:00
stashitem.go Dim search results during filtering 2020-11-17 15:57:55 -05:00
ui.go Add stash states for searching through notes 2020-11-17 15:57:55 -05:00