Fix modifiers being capitalized
This commit is contained in:
parent
593443f10e
commit
6b05a2a06d
1 changed files with 4 additions and 4 deletions
|
|
@ -138,16 +138,16 @@ impl fmt::Display for KeyPress {
|
||||||
|
|
||||||
let mut segments = vec![];
|
let mut segments = vec![];
|
||||||
if self.shift {
|
if self.shift {
|
||||||
segments.push("Shift");
|
segments.push("shift");
|
||||||
}
|
}
|
||||||
if self.ctrl {
|
if self.ctrl {
|
||||||
segments.push("Ctrl");
|
segments.push("ctrl");
|
||||||
}
|
}
|
||||||
if self.alt {
|
if self.alt {
|
||||||
segments.push("Alt");
|
segments.push("alt");
|
||||||
}
|
}
|
||||||
if self.any {
|
if self.any {
|
||||||
segments.push("Any");
|
segments.push("any");
|
||||||
}
|
}
|
||||||
segments.push(&code);
|
segments.push(&code);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue