Skip to content

Commit cc55844

Browse files
committed
Change nix fn sig
1 parent 1bf74bd commit cc55844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ext/io/tty_unix.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ pub fn op_read_line_prompt(
227227
let mut editor =
228228
Editor::<(), rustyline::history::DefaultHistory>::new().expect("Failed to create editor.");
229229

230-
editor.set_keyseq_timeout(Some(1));
230+
editor.set_keyseq_timeout(1);
231231
editor.bind_sequence(KeyEvent(KeyCode::Esc, Modifiers::empty()), Cmd::Interrupt);
232232

233233
let read_result = editor.readline_with_initial(prompt_text, (default_value, ""));

0 commit comments

Comments
 (0)