aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/ansi.rs
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-02-02 11:30:23 +0300
committerGitHub <noreply@github.com>2023-02-02 11:30:23 +0300
commit1c878a0476257d328113efcd7088f1aa53f42e56 (patch)
treeb4ba30e6b9549965387330f9eb7111c95795de69 /alacritty_terminal/src/ansi.rs
parent246ec8945d84f658fc88d02a33c3590ef4a92e0f (diff)
downloadalacritty-1c878a0476257d328113efcd7088f1aa53f42e56.tar.gz
alacritty-1c878a0476257d328113efcd7088f1aa53f42e56.zip
Update winit to 0.28
Fixes #6644. Fixes #6615. Fixes #6558. Fixes #6515. Fixes #3187. Fixes #62.
Diffstat (limited to 'alacritty_terminal/src/ansi.rs')
-rw-r--r--alacritty_terminal/src/ansi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/ansi.rs b/alacritty_terminal/src/ansi.rs
index ff468ffc..53495995 100644
--- a/alacritty_terminal/src/ansi.rs
+++ b/alacritty_terminal/src/ansi.rs
@@ -1003,7 +1003,7 @@ where
if let Some(c) = xparse_color(chunk[1]) {
self.handler.set_color(index as usize, c);
} else if chunk[1] == b"?" {
- let prefix = format!("4;{}", index);
+ let prefix = format!("4;{index}");
self.handler.dynamic_color_sequence(prefix, index as usize, terminator);
} else {
unhandled(params);