From 61cabdac13986e6cb2ba69e81d5934f55d92a1a9 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 27 Aug 2019 17:23:28 +0200 Subject: search: wip: re-direct input while searching, and build a search buffer 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. --- meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index edf354b2..01a85cc8 100644 --- a/meson.build +++ b/meson.build @@ -90,6 +90,7 @@ executable( 'main.c', 'osc.c', 'osc.h', 'render.c', 'render.h', + 'search.c', 'search.h', 'selection.c', 'selection.h', 'shm.c', 'shm.h', 'slave.c', 'slave.h', -- cgit v1.3