Commit fc0f0d26 authored by Behdad Esfahbod's avatar Behdad Esfahbod Committed by Behdad Esfahbod

Red Hat Bug 474618 - gnome-terminal sometime leaves empty begining of the

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        Red Hat Bug 474618 -  gnome-terminal sometime leaves empty begining
        of the line

        * src/vte.c (_vte_terminal_insert_char): Really fix the bug this time.


svn path=/trunk/; revision=2326
parent ef2d5fed
2008-12-05 Behdad Esfahbod <behdad@gnome.org>
Red Hat Bug 474618 - gnome-terminal sometime leaves empty begining
of the line
* src/vte.c (_vte_terminal_insert_char): Really fix the bug this time.
2008-12-05 Behdad Esfahbod <behdad@gnome.org>
* src/Makefile.am:
......
......@@ -3139,6 +3139,9 @@ _vte_terminal_insert_char(VteTerminal *terminal, gunichar c,
/* Make sure we have enough rows to hold this data. */
row = vte_terminal_ensure_cursor (terminal);
g_assert(row != NULL);
_vte_terminal_cleanup_tab_fragments_at_cursor (terminal);
if (insert) {
for (i = 0; i < columns; i++)
g_array_insert_val(row->cells, col + i,
......@@ -3149,8 +3152,6 @@ _vte_terminal_insert_char(VteTerminal *terminal, gunichar c,
}
}
_vte_terminal_cleanup_tab_fragments_at_cursor (terminal);
/* Convert any wide characters we may have broken into single
* cells. (#514632) */
if (col > 0) {
......
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