summaryrefslogtreecommitdiff
path: root/gramscii.c
diff options
context:
space:
mode:
Diffstat (limited to 'gramscii.c')
-rw-r--r--gramscii.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gramscii.c b/gramscii.c
index 6dee819..8b84ec3 100644
--- a/gramscii.c
+++ b/gramscii.c
@@ -20,6 +20,8 @@
*
*/
+#define _POSIX_C_SOURCE 2
+
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
@@ -124,6 +126,9 @@ void commands(FILE *fc){
case 'U':
redo_change();
break;
+ case 'r':
+ read_file_at(fc, x, y);
+ break;
case 'q':
check_modified(fc);/** FALLTHROUGH **/
case 'Q':