summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgmont Koblinger <egmont@gmail.com>2015-01-19 20:18:13 +0100
committerEgmont Koblinger <egmont@gmail.com>2015-01-19 20:18:13 +0100
commitd07ea7c64cf7c13b639684e7277d97523e29f2a0 (patch)
tree2bd93d0cff7e2d26f7de73b9df52a6c62fe9f3d0
parent12e706ba1601896fc233ad97255a37281e70dc09 (diff)
downloadvte-d07ea7c64cf7c13b639684e7277d97523e29f2a0.tar.gz
widget: Fix backwards selection over wide characters
https://bugzilla.gnome.org/show_bug.cgi?id=725909#c15
-rw-r--r--src/vte.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vte.c b/src/vte.c
index 2f3a5383..ec6378ae 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -6464,6 +6464,7 @@ vte_terminal_extend_selection_expand (VteTerminal *terminal)
sc->col = i;
}
}
+ sc->col = find_start_column (terminal, sc->col, sc->row);
/* Handle end-of-line at the end-cell. */
rowdata = _vte_terminal_find_row_data(terminal, ec->row);