Skip to content

Commit

Permalink
Make search term immutable after pressing enter but ghost the term
Browse files Browse the repository at this point in the history
  • Loading branch information
mason-larobina committed Aug 7, 2010
1 parent f6b82fb commit 985bfd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rc.lua
Expand Up @@ -294,6 +294,9 @@ function attach_window_signals(w)
w:search(string.sub(text, 2), (string.sub(text, 1, 1) == "/"))
-- User doesn't want to return to start position
w.search_start_marker = nil
w:set_mode()
w.ibar.prompt.text = text
w.ibar.prompt:show()
end
end)
end
Expand Down

0 comments on commit 985bfd8

Please sign in to comment.