mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
Shell: Add support for escaping backslash in prompt sequence
This commit is contained in:
committed by
Ali Mohammad Pur
parent
050c73d301
commit
491d61a2fd
@@ -157,6 +157,9 @@ DeprecatedString Shell::prompt() const
|
||||
else
|
||||
builder.append('!');
|
||||
|
||||
} else if (lexer.consume_specific('\\')) {
|
||||
builder.append('\\');
|
||||
|
||||
} else {
|
||||
lexer.consume();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user