diff --git a/src/vte.cc b/src/vte.cc index d813e16ceaf903679f4be80cd9699bc70b87a388..c7ee93aba55765edc74f3854a7b1cbd0a2925a42 100644 --- a/src/vte.cc +++ b/src/vte.cc @@ -6598,10 +6598,7 @@ Terminal::maybe_end_selection() /* * Terminal::select_all: * - * Selects all text within the terminal. Note that we only select the writable - * region, *not* the scrollback buffer, due to this potentially selecting so - * much data that putting it on the clipboard either hangs the process for a long - * time or even crash it directly. (FIXME!) + * Selects all text within the terminal (including the scrollback buffer). */ void Terminal::select_all() @@ -6681,8 +6607,8 @@ Terminal::select_all() m_selecting_had_delta = TRUE; - m_selection_resolved.set({m_screen->insert_delta, 0}, - {_vte_ring_next(m_screen->row_data), 0}); + m_selection_resolved.set ({ _vte_ring_delta (m_screen->row_data), 0 }, + { _vte_ring_next (m_screen->row_data), 0 }); _vte_debug_print(VTE_DEBUG_SELECTION, "Selecting *all* text.\n");