Buffer Setting?

Post Reply
Keiku
Posts: 2
Joined: Wed Aug 14, 2013 10:55 pm

Buffer Setting?

Post by Keiku »

Hi all, I remember in the older version of mudlet there was a buffer limit you could input. The default was something like 100k lines at a batch deletion of 10k, but with 2.1 I cannot find that setting again. Am I thinking of another client? Looked throughout the whole settings window and could not find the option to edit it :(

User avatar
Vadi
Posts: 5045
Joined: Sat Mar 14, 2009 3:13 pm

Re: Buffer Setting?

Post by Vadi »

It's still the and still the same, but it has never been a UI option. Instead, make a new script and add this function to it with the desired setting.

Keiku
Posts: 2
Joined: Wed Aug 14, 2013 10:55 pm

Re: Buffer Setting?

Post by Keiku »

Hey thanks Vadi, worked great

gesslar
Posts: 6
Joined: Mon Jul 29, 2019 9:18 pm

Re: Buffer Setting?

Post by gesslar »

Follow-up questions...

Is this setting, achieved by script, only for one profile? Or all profiles? And is this setting persistent across sessions or only valid for the current session?

Could this information be updated in the wiki article mentioned above?

User avatar
demonnic
Posts: 886
Joined: Sat Dec 05, 2009 3:19 pm

Re: Buffer Setting?

Post by demonnic »

Scripts apply only to the current profile in general, and if it's in a script as described above it will be run each time the profile is loaded up. That's how scripts in general work, I don't know that adding it to the API docs would be appropriate but I'll see if maybe I can spot a good place to call it out in the manual.

I believe anywhere it effects more than one profile it is noted, but these are just the global events and setAppStyleSheet function that I can think of.

User avatar
SlySven
Posts: 1024
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Buffer Setting?

Post by SlySven »

Actually that setting applies individually to each "console" (window) or buffer. Congratulation also to you gesslar for reviving a topic that has been dead necro-ed for ten years! :grin:

Post Reply