mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 23:56:24 -04:00
Cleanup: use named constant
This commit is contained in:
parent
679a196dc7
commit
e633ae6aa6
|
|
@ -296,7 +296,7 @@ func (g *Gui) pollEvent() GocuiEvent {
|
|||
ch = tev.Rune()
|
||||
if ch == ' ' {
|
||||
// special handling for spacebar
|
||||
k = 32 // tcell keys ends at 31 or starts at 256
|
||||
k = tcell.Key(KeySpace)
|
||||
ch = rune(0)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue