diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-02-07 09:36:59 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-02-07 09:36:59 +0000 |
| commit | b4027118e65ac1f7a8b71d538ed323e23c482fab (patch) | |
| tree | 50b7c3db8974ae3386176ccd327cffe83031140d | |
| parent | changelog: “(null)” being logged as font-name (diff) | |
term: init: initialize selection pivot point coords to -1,-1
While this _shouldn’t_ be necessary (pivot points are only used while
a selection is ongoing). But it doesn’t hurt to initialize them
anyway.
| -rw-r--r-- | terminal.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1158,6 +1158,10 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper, .selection = { .start = {-1, -1}, .end = {-1, -1}, + .pivot = { + .start = {-1, -1}, + .end = {-1, -1}, + }, .auto_scroll = { .fd = -1, }, |
