diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-07-23 14:38:45 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-07-26 12:13:44 +0200 |
| commit | d7a7a3efde175e944cc6943170c9f60467850060 (patch) | |
| tree | 3d415c3b8892af2e453414fdcf73aace3285c2c9 /ui.h | |
| parent | 5e016233a9fe77258edd85a2dc746d20e6db46a0 (diff) | |
| download | vis-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.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); }; |
