Fix modifiers being capitalized

This commit is contained in:
Joscha 2023-04-28 15:18:11 +02:00
parent 593443f10e
commit 6b05a2a06d

View file

@ -138,16 +138,16 @@ impl fmt::Display for KeyPress {
let mut segments = vec![];
if self.shift {
segments.push("Shift");
segments.push("shift");
}
if self.ctrl {
segments.push("Ctrl");
segments.push("ctrl");
}
if self.alt {
segments.push("Alt");
segments.push("alt");
}
if self.any {
segments.push("Any");
segments.push("any");
}
segments.push(&code);