Do not shrink lines in the buffer on resize
parent
b9829b9641
commit
b1bda1e40d
|
@ -471,9 +471,6 @@ void moo_term_buffer_set_screen_size (MooTermBuffer *buf,
|
||||||
{
|
{
|
||||||
height = buf_screen_height (buf);
|
height = buf_screen_height (buf);
|
||||||
|
|
||||||
for (i = 0; i < height; ++i)
|
|
||||||
term_line_set_len (buf_screen_line (buf, i), width);
|
|
||||||
|
|
||||||
buf->priv->screen_width = width;
|
buf->priv->screen_width = width;
|
||||||
|
|
||||||
if (buf->priv->cursor_col >= width)
|
if (buf->priv->cursor_col >= width)
|
||||||
|
|
Loading…
Reference in New Issue