mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 06:04:18 +00: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…
Reference in a new issue