[REBOL] Re: clearing console scroll buffer?
From: sqlab:gmx at: 22-Jan-2010 10:16
On 22.01.2010 09:06, Graham Chiu wrote:
> Try this
>
> call/show form system/options/boot quit
>
> :)
>
This is drastic; scraping instead of cleansing.)
Then you could also set the scroll buffer lines to 25.
> On Fri, Jan 22, 2010 at 9:00 PM, Semseddin Moldibi [ Bircom ]
> <semseddinm-bircom.com> wrote:
>
>> Unfourtunately this is not I was looking for.
>> system/console/history holds the lines I wrote.
>> But I mean that the window scroll buffer.
>> For example I print some output, say 500 rows,
>> then clear the screen with prin "^L" (and clear system/console/history,
>> which is not the case) but when user scrolls window up using mouse-wheel
>> or scroll bar, then old rows will be shown.
>> There is Scroll Buffer Lines settings in Settings window on View
>> Console.
>> So I tought that it is stored somewhere in system object.
>> By the way when I change this Scroll Buffer Lines setting buffer gets
>> cleared
>>
>>
>>
not always. If you use a large buffer, it seems to depend of other
cirscumstamces.