aboutsummaryrefslogtreecommitdiff
path: root/lib/todos.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/todos.ml6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/todos.ml b/lib/todos.ml
index 83a497b..f2e461d 100644
--- a/lib/todos.ml
+++ b/lib/todos.ml
@@ -127,7 +127,8 @@ let rec render
| `Key (`ASCII 's', []) ->
let (input_state : Input_prompt.state) =
{ screen = img
- ; user_input = ""
+ ; user_input_pre = ""
+ ; user_input_post = ""
; prompt = "REGEXP"
; on_enter =
(fun tag ->
@@ -155,7 +156,8 @@ let rec render
let selected_file = Grep.execution_directory ^ "/" ^ selected_file in
let (input_state : Input_prompt.state) =
{ screen = img
- ; user_input = ""
+ ; user_input_post = ""
+ ; user_input_pre = ""
; prompt = "COMMAND"
; on_enter =
(fun command ->