mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Set to reedline main branch for development cycle (#5249)
Changes to reedline since `v0.4.0`: - vi normal mode `I` for inserting at line beginning - `InsertNewline` edit command that can be bound to `Alt-Enter` if desired to have line breaks without relying on the `Validator` - `ClearScreen` will directly clear the visible screen. `Signal::CtrlL` has been removed. - `ClearScrollback` will clear the screen and scrollback. Can be used to mimic macOS `Cmd-K` screen clearing. Helps with #5089
This commit is contained in:
committed by
GitHub
parent
7e97be1dd4
commit
995d8db1fe
@ -314,9 +314,6 @@ pub fn evaluate_repl(
|
||||
println!();
|
||||
break;
|
||||
}
|
||||
Ok(Signal::CtrlL) => {
|
||||
line_editor.clear_screen().into_diagnostic()?;
|
||||
}
|
||||
Err(err) => {
|
||||
let message = err.to_string();
|
||||
if !message.contains("duration") {
|
||||
|
Reference in New Issue
Block a user