Skip to main content

shift_enter_sequence

Function shift_enter_sequence 

Source
pub fn shift_enter_sequence(encoding: WindowsPasteNewline) -> &'static [u8] ⓘ
Expand description

Shift+Enter bytes for a Windows input-record newline.

AltEnter is \x1b\r. CsiU is \x1b[13;2u. The prompt writer uses these as newlines; it does not append an extra Shift+Enter after the body.