aboutsummaryrefslogtreecommitdiff
path: root/lib/done.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/done.ml
parentfa2582d562118dc1ceccd01ede8d0d7e80d71a29 (diff)
downloadstitch-ebb302498593f15330affa732c5206e31d882d8f.tar.gz
stitch-ebb302498593f15330affa732c5206e31d882d8f.tar.bz2
stitch-ebb302498593f15330affa732c5206e31d882d8f.zip
Rename screen -> Prompt
Diffstat (limited to 'lib/done.ml')
-rw-r--r--lib/done.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/done.ml b/lib/done.ml
index 815f663..63e25a9 100644
--- a/lib/done.ml
+++ b/lib/done.ml
@@ -74,7 +74,7 @@ let rec render
render t { state with pos = 0, min y content_end }
| `Key (`ASCII '?', []) -> Help_screen.render t { go_back = (fun () -> render t state) }
| `Key (`ASCII 'r', []) ->
- let (input_state : Input_screen.state) =
+ let (input_state : Input_prompt.state) =
{ screen = img
; user_input = ""
; prompt = "REGEXP: "
@@ -95,7 +95,7 @@ let rec render
render t state)
}
in
- Input_screen.render t input_state
+ Input_prompt.render t input_state
| `Key (`ASCII '1', []) -> goto_headlines (fun () -> render t state)
| `Key (`ASCII '2', []) -> goto_todo (fun () -> render t state)
| `Key (`ASCII 'g', []) ->