Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/console.cc')
-rw-r--r--src/client/console.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/console.cc b/src/client/console.cc
index ca84384..04f896f 100644
--- a/src/client/console.cc
+++ b/src/client/console.cc
@@ -216,8 +216,10 @@ void toggle()
(*history_pos).clear();
SDL_WM_GrabInput(SDL_GRAB_OFF);
+ SDL_ShowCursor(SDL_ENABLE);
} else {
SDL_WM_GrabInput(SDL_GRAB_ON);
+ SDL_ShowCursor(SDL_DISABLE);
}
setkeyboardmode(console::visible());