projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added (inactive) code to show level pictures on worldmap
[supertux.git]
/
src
/
console.cpp
diff --git
a/src/console.cpp
b/src/console.cpp
index
fba096f
..
cc88905
100644
(file)
--- a/
src/console.cpp
+++ b/
src/console.cpp
@@
-420,6
+420,7
@@
Console::show()
focused = true;
height = 256;
alpha = 1.0;
+ SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
}
void
@@
-431,6
+432,7
@@
Console::hide()
// clear input buffer
inputBuffer.str(std::string());
+ SDL_EnableKeyRepeat(0, SDL_DEFAULT_REPEAT_INTERVAL);
}
void