set_scrollback_lines


Description:

public void set_scrollback_lines (long lines)

Sets the length of the scrollback buffer used by the terminal.

The size of the scrollback buffer will be set to the larger of this value and the number of visible rows the widget can display, so 0 can safely be used to disable scrollback.

A negative value means "infinite scrollback".

Note that this setting only affects the normal screen buffer. No scrollback is allowed on the alternate screen buffer.

Parameters:

this

a Terminal

lines

the length of the history buffer