mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-08-24 10:13:41 -05:00
Cleanup: use named constant
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user