diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-12-19 13:50:04 +0100 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-12-19 13:50:04 +0100 |
commit | 7f017f27ff254995c1ad4fbe4947b929c4c6046f (patch) | |
tree | 62f575ebacb349de04cc022a0ad2875f13304529 /src | |
parent | 3c99618132e8f5924f7a865ce595593889000211 (diff) |
Bug 604966 - Fix "select all" to include text occurring after the visible region
Diffstat (limited to 'src')
-rw-r--r-- | src/vte.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6716,8 +6716,8 @@ vte_terminal_select_all (VteTerminal *terminal) terminal->pvt->selection_start.row = _vte_ring_delta (terminal->pvt->screen->row_data); terminal->pvt->selection_start.col = 0; - terminal->pvt->selection_end.row = terminal->pvt->screen->scroll_delta + terminal->row_count; - terminal->pvt->selection_end.col = 0; + terminal->pvt->selection_end.row = _vte_ring_next (terminal->pvt->screen->row_data); + terminal->pvt->selection_end.col = -1; _vte_debug_print(VTE_DEBUG_SELECTION, "Selecting *all* text.\n"); |