Permalink
Browse files

Fix the space key

Space is a termbox.Key rather than a termbox.Ch, but we weren't handling
it. Map it back to the SP rune.
  • Loading branch information...
1 parent c8ce37b commit 07fe361e5ef10562ad0a9b423f4bda05b23aae73 @kballard committed Apr 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 keymap.go
View
@@ -9,6 +9,7 @@ import (
var keymapTermboxKeyToRune = map[termbox.Key]rune{
termbox.KeyDelete: 127,
+ termbox.KeySpace: 0x20,
}
var keymapTermboxKeyToKey = map[termbox.Key]dcpu.Key{

0 comments on commit 07fe361

Please sign in to comment.