diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-07-27 08:31:24 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-07-27 08:31:24 +0100 |
commit | a99759398841d86928c7ad4d8248f907765cbeb2 (patch) | |
tree | 5adb05a273e0532be2665e8ae95a8b4042809213 /draw.c | |
parent | b38ed132a7df231fc08ce384d8559e6648fdd0cc (diff) |
add crop-to-visible function (C)
Diffstat (limited to 'draw.c')
-rw-r--r-- | draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -303,6 +303,7 @@ void visual_box(FILE *fc){ f = get_key(fc, "fill char: "); /** FALLTHROUGH **/ case 'x':/* erase */ erase_box(orig_x, orig_y, f); + erase_blank_lines(MIN(y,orig_y), MAX(y, orig_y)); modified = 1; goto vis_exit; break; |