diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-08-09 07:08:35 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-08-09 07:08:35 +0100 |
commit | 62267b8424170f9b136892248a77dbed3fdcbbba (patch) | |
tree | dd741fdfa323382be5f6431ae6a63993aff6c13f /gramscii.c | |
parent | 3ba178677800de55393f8ec80752ffe72660931a (diff) |
add read-at-point function
Diffstat (limited to 'gramscii.c')
-rw-r--r-- | gramscii.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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': |