Skip to main content

clear_line

Function clear_line 

Source
pub(super) fn clear_line(family: ShellFamily) -> &'static str
Expand description

The key that clears a half-typed input line before run types: Esc in cmd and PowerShell, Ctrl+U in a Unix shell (readline, zsh’s line editor, fish).