diff --git a/src/bin/termio.c b/src/bin/termio.c index 91eb8ccc..786cf3c6 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -2848,7 +2848,7 @@ _trim_sel_word(Termio *sd) ((y == pty->selection.start.y) && (end < pty->selection.start.x))) { - pty->selection.end.x = pty->selection.end.x; + pty->selection.end.x = pty->selection.start.x; pty->selection.end.y = pty->selection.start.y; return; }