fix: singlebyte char assumption in parse_selection_char (#548)

Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com>
This commit is contained in:
micron-mushroom 2023-03-15 11:30:40 -06:00 committed by GitHub
parent 3c010ccd34
commit 5ba547cf51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,13 +124,10 @@ pub fn parse_selection_char(buffer: &str, marker: char) -> ParseResult {
action,
}
}
_ => {
index += 1;
continue;
}
_ => {}
}
}
index += 1;
index += char.len_utf8();
}
ParseResult {