mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
Fix comment for is_single_byte_escape_seq.
This commit is contained in:
parent
a3bdc6a233
commit
060a068a3c
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ static bool is_osc_escape_seq(const wchar_t *code, size_t *resulting_length) {
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Generic VT100 one byte sequence: CSI followed by something in the range @ through _.
|
/// Generic VT100 three byte sequence: CSI followed by something in the range @ through _.
|
||||||
static bool is_single_byte_escape_seq(const wchar_t *code, size_t *resulting_length) {
|
static bool is_single_byte_escape_seq(const wchar_t *code, size_t *resulting_length) {
|
||||||
bool found = false;
|
bool found = false;
|
||||||
if (code[1] == L'[' && (code[2] >= L'@' && code[2] <= L'_')) {
|
if (code[1] == L'[' && (code[2] >= L'@' && code[2] <= L'_')) {
|
||||||
|
|
Loading…
Reference in a new issue