summaryrefslogtreecommitdiff
path: root/gramscii.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-08-14 07:59:53 +0100
committerKatolaZ <katolaz@freaknet.org>2019-08-14 07:59:53 +0100
commita95019dfe0b64ed01051f2f059af7d7756d0dcdb (patch)
tree6bdf12f44cdbfa116ff0320e31d4afb37e0b317a /gramscii.c
parent257ec5d56fbe0ac65b04ae10bf36dd14e86c95a5 (diff)
add parallelogram mode
Diffstat (limited to 'gramscii.c')
-rw-r--r--gramscii.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gramscii.c b/gramscii.c
index 2181d48..29b3f04 100644
--- a/gramscii.c
+++ b/gramscii.c
@@ -90,7 +90,7 @@ void commands(FILE *fc){
break;
case 'b':
mode = BOX;
- get_box(fc);
+ get_box(fc, BOX_RECT);
break;
case 'A': autoend=1;
case 'a':
@@ -134,6 +134,10 @@ void commands(FILE *fc){
case 'r':
read_file_at(fc, x, y);
break;
+ case 'z':
+ mode = PAR;
+ get_box(fc, BOX_PARR);
+ break;
case 'q':
check_modified(fc);/** FALLTHROUGH **/
case 'Q':