mirror of
https://github.com/charmbracelet/glow
synced 2024-12-14 22:22:26 +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 "/":
|
case "/":
|
||||||
m.hideStatusMessage()
|
m.hideStatusMessage()
|
||||||
|
|
||||||
if pages == 0 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
m.state = stashStateSearchNotes
|
m.state = stashStateSearchNotes
|
||||||
m.searchInput.CursorEnd()
|
m.searchInput.CursorEnd()
|
||||||
m.searchInput.Focus()
|
m.searchInput.Focus()
|
||||||
|
|
Loading…
Reference in a new issue