mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
fish_key_reader: stop emitting \n for ctrl-j
I guess it's nice to know that these two are the same but that info is not needed here, it just adds confusion. The user must have pressed ctrl-j if we get here, so echo that back. See the parent commit.
This commit is contained in:
parent
4336f9df7f
commit
308ed62d83
1 changed files with 0 additions and 1 deletions
|
@ -421,7 +421,6 @@ fn ctrl_to_symbol(buf: &mut WString, c: char) {
|
|||
let c = u8::try_from(c).unwrap();
|
||||
let symbolic_name = match c {
|
||||
9 => L!("\\t"),
|
||||
10 => L!("\\n"),
|
||||
13 => L!("\\r"),
|
||||
27 => L!("\\e"),
|
||||
_ => return sprintf!(=> buf, "\\x%02x", c),
|
||||
|
|
Loading…
Reference in a new issue