Commit 80c1736f authored by Chris Wilson's avatar Chris Wilson Committed by Chris Wilson
Browse files

cf Bug 469862 – Handling of wrapped links in gnome-terminal is broken

2007-09-01  Chris Wilson  <chris@chris-wilson.co.uk>

    cf Bug 469862 – Handling of wrapped links in gnome-terminal is broken

    * src/vte.c (vte_terminal_get_text_range_maybe_wrapped):
        Revert the last character is in last column check as that
        behaviour is required to handle terminal resizing where the
        screen contents are not reconstructed (e.g. bash).


svn path=/trunk/; revision=1941
parent 0fe5d9cc
2007-09-01 Chris Wilson <chris@chris-wilson.co.uk>
cf Bug 469862 Handling of wrapped links in gnome-terminal is broken
* src/vte.c (vte_terminal_get_text_range_maybe_wrapped):
Revert the last character is in last column check as that
behaviour is required to handle terminal resizing where the
screen contents are not reconstructed (e.g. bash).
2007-08-30 Chris Wilson <chris@chris-wilson.co.uk>
Bug 471901 troubles with pad
......
......@@ -5316,8 +5316,7 @@ vte_terminal_get_text_range_maybe_wrapped(VteTerminal *terminal,
else if (is_selected(terminal, terminal->column_count - 1, row, data)) {
/* If we didn't softwrap, add a newline. */
/* XXX need to clear row->soft_wrap on deletion! */
if (!(last_nonemptycol == terminal->column_count - 1 &&
vte_line_is_wrappable(terminal, row))) {
if (!vte_line_is_wrappable(terminal, row)) {
string = g_string_append_c(string, '\n');
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment