aboutsummaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-23 14:38:45 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-26 12:13:44 +0200
commitd7a7a3efde175e944cc6943170c9f60467850060 (patch)
tree3d415c3b8892af2e453414fdcf73aace3285c2c9 /ui.h
parent5e016233a9fe77258edd85a2dc746d20e6db46a0 (diff)
downloadvis-d7a7a3efde175e944cc6943170c9f60467850060.tar.gz
vis-d7a7a3efde175e944cc6943170c9f60467850060.tar.xz
vis: add infrastructure to support multiple cursors/selections
This cleans up the existing selection handling code and adds the necessary bits to eventually support multiple cursors/selections. The cursor position is kept track of using marks, which means retrieving the cursor position is no longer a constant time operation. Furthermore the terminal cursor is no longer used, instead the whole window is redrawn after every cursor movement.
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui.h b/ui.h
index 1a65184..4f61ec1 100644
--- a/ui.h
+++ b/ui.h
@@ -54,7 +54,6 @@ struct UiWin {
void (*draw)(UiWin*);
void (*draw_text)(UiWin*, const Line*);
void (*draw_status)(UiWin*);
- void (*cursor_to)(UiWin*, int x, int y);
void (*reload)(UiWin*, File*);
void (*options)(UiWin*, enum UiOption);
};