aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-02-07 12:23:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-07 12:23:56 +0000
commit3baf7de3b8e313a008d248a39175c0cad58d08fd (patch)
tree354f8a3e4e2030e23aeaf7a5fc16523ed9d3aeee /terminal.c
parentchangelog: “(null)” being logged as font-name (diff)
parentchangelog: mouse selections are finalized on window resize (diff)
Merge branch 'finalize-selection-on-window-resize'
Closes #922
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index 3b935909..81df743b 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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,
},