mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-23 08:34:17 +02:00
Ensure the search binding "/" always works
This commit is contained in:
parent
c91501655f
commit
89965743a1
1 changed files with 0 additions and 4 deletions
|
|
@ -492,10 +492,6 @@ func stashUpdate(msg tea.Msg, m stashModel) (stashModel, tea.Cmd) {
|
|||
case "/":
|
||||
m.hideStatusMessage()
|
||||
|
||||
if pages == 0 {
|
||||
break
|
||||
}
|
||||
|
||||
m.state = stashStateSearchNotes
|
||||
m.searchInput.CursorEnd()
|
||||
m.searchInput.Focus()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue