Use Alacritty from crates.io (#25016)

Follow-up of https://github.com/zed-industries/zed/pull/23085

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-02-17 14:55:06 +02:00 committed by GitHub
parent b5d85b638a
commit aca31cfb8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 10 deletions

View file

@ -181,10 +181,10 @@ impl TerminalOutput {
for byte in text.as_bytes() {
if *byte == b'\n' {
// Dirty (?) hack to move the cursor down
self.parser.advance(&mut self.handler, &[b'\r']);
self.parser.advance(&mut self.handler, &[b'\n']);
self.parser.advance(&mut self.handler, b'\r');
self.parser.advance(&mut self.handler, b'\n');
} else {
self.parser.advance(&mut self.handler, &[*byte]);
self.parser.advance(&mut self.handler, *byte);
}
}