mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-27 10:20:40 +02:00
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 | ||