mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
Start work on multiple hardware cursors
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include "monotonic.h"
|
||||
#include "line-buf.h"
|
||||
#include "history.h"
|
||||
#include "window_logo.h"
|
||||
|
||||
typedef enum ScrollTypes { SCROLL_LINE = -999999, SCROLL_PAGE, SCROLL_FULL } ScrollType;
|
||||
|
||||
@@ -88,6 +87,18 @@ typedef struct {
|
||||
} last_ime_pos;
|
||||
} OverlayLine;
|
||||
|
||||
typedef struct ExtraCursor {
|
||||
CursorShape shape;
|
||||
index_type cell;
|
||||
} ExtraCursor;
|
||||
|
||||
typedef struct ExtraCursors {
|
||||
ExtraCursor *locations;
|
||||
unsigned count, capacity;
|
||||
bool dirty;
|
||||
} ExtraCursors;
|
||||
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
|
||||
@@ -171,10 +182,12 @@ typedef struct {
|
||||
LineBuf *linebuf;
|
||||
GraphicsManager *grman;
|
||||
Selections selections, url_ranges;
|
||||
ExtraCursors extra_cursors;
|
||||
} paused_rendering;
|
||||
CharsetState charset;
|
||||
ListOfChars *lc;
|
||||
monotonic_t parsing_at;
|
||||
ExtraCursors extra_cursors;
|
||||
} Screen;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user