mirror of
https://github.com/charmbracelet/glow
synced 2024-09-20 06:22:02 +00:00
c91501655f
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. |
||
---|---|---|
.. | ||
consts_unix.go | ||
consts_windows.go | ||
ignore_darwin.go | ||
ignore_general.go | ||
markdown.go | ||
pager.go | ||
stash.go | ||
stashitem.go | ||
ui.go |