Map Key to Control

This commit is contained in:
Alexander Heldt
2025-11-15 17:47:59 +01:00
parent 702313eac2
commit 94212996d2
6 changed files with 97 additions and 21 deletions

View File

@@ -43,7 +43,6 @@ pub fn start_raw_shell() {
internal_key.shell_start_interactive(#(no_shell, raw))
}
// TODO map key to something like Control, to not leak `Continue` etc.
pub fn read_input_until_key(l: List(String)) -> Key {
let l = internal_key.read_input() |> list.wrap |> list.append(l, _)