Change profile preferences from script?

Post Reply
Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Change profile preferences from script?

Post by Nyyrazzilyss »

Is there any way to change the profile preferences from a script?

In particular, i'd like to be able to force autoclear input line to true from a package. Alternatively, any opinion on changing it to default to on, instead of off?

User avatar
Belgarath
Posts: 232
Joined: Fri Jul 26, 2013 7:19 am
Discord: macjabeth#7149

Re: Change profile preferences from script?

Post by Belgarath »

There is no way to turn the setting on or off via script, but there is a way to clear the input line:
Code: [show] | [select all] lua
-- don't be evil with this!
clearCmdLine()

Post Reply