aboutsummaryrefslogtreecommitdiff
path: root/lib/todos.ml
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-15 15:25:36 -0500
committerMarc Coquand <marc@mccd.space>2024-05-15 15:25:36 -0500
commitebb302498593f15330affa732c5206e31d882d8f (patch)
treeb874255b175974576a19789663f6532e4aa06239 /lib/todos.ml
parentfa2582d562118dc1ceccd01ede8d0d7e80d71a29 (diff)
downloadstitch-ebb302498593f15330affa732c5206e31d882d8f.tar.gz
stitch-ebb302498593f15330affa732c5206e31d882d8f.tar.bz2
stitch-ebb302498593f15330affa732c5206e31d882d8f.zip
Rename screen -> Prompt
Diffstat (limited to 'lib/todos.ml')
-rw-r--r--lib/todos.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/todos.ml b/lib/todos.ml
index bc8607f..57f03a8 100644
--- a/lib/todos.ml
+++ b/lib/todos.ml
@@ -86,7 +86,7 @@ let rec render
; content_pretty = Array.of_list content_pretty
}
| `Key (`ASCII 'r', []) ->
- let (input_state : Input_screen.state) =
+ let (input_state : Input_prompt.state) =
{ screen = img
; user_input = ""
; prompt = "REGEXP: "
@@ -107,7 +107,7 @@ let rec render
render t state)
}
in
- Input_screen.render t input_state
+ Input_prompt.render t input_state
| `Key (`ASCII 'j', []) | `Key (`ASCII 'N', [ `Ctrl ]) -> scroll_down ()
| `Key (`ASCII 'k', []) | `Key (`ASCII 'P', [ `Ctrl ]) -> scroll_up ()
| `Key (`ASCII 't', []) ->