diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-07-31 11:19:55 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-07-31 11:19:55 +0100 |
commit | f3100ddd486d6f39b0c97c9c492bb6020bf3caf1 (patch) | |
tree | 729407153bc35d950ef5a46045f5d6a9c71bdcf2 /screen.c | |
parent | 526ce3a130732d4a2374a6e36a689d9e0cf5cc34 (diff) |
add undo support for box, visual, cut/paste
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -410,8 +410,8 @@ void init_screen(){ cutbuf.num = 0; undo_sz = 0; - undo_cur = -1; - undo_lst = -1; + undo_cur = -2; + undo_lst = -2; } void find_nonblank_rect(int *x1, int *y1, int *x2, int *y2){ |