Do not shrink lines in the buffer on resize

master
Yevgen Muntyan 2005-07-03 09:45:33 +00:00
parent b9829b9641
commit b1bda1e40d
1 changed files with 0 additions and 3 deletions

View File

@ -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)