aboutsummaryrefslogtreecommitdiff
path: root/search.h (follow)
Commit message (Collapse)AuthorAgeLines
* search: wip: re-direct input while searching, and build a search bufferDaniel Eklöf2019-08-27-0/+8
This adds a new state, 'is_searching'. While active, input is re-directed, and stored in a search buffer. In the future, we'll use this buffer and search for its content in the scrollback buffer, and move the view and create a selection on matches. When rendering in 'is_searching', everything is dimmed. In the future, we'll render the current search buffer on-top of the dimmed "regular" terminal output.