aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index b066fc5..4191e43 100644
--- a/main.c
+++ b/main.c
@@ -157,6 +157,9 @@ int main(int argc, char** argv)
case SDLK_DOWN:
zoom_view(-1);
break;
+ case SDLK_r:
+ reset_view();
+ break;
case SDLK_j:
move_view(0, -50);
break;