Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Changing Background Color
Changing Background Color
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Vanidor
USA (23 posts) Bio
|
Date
| Tue 24 Aug 2010 02:42 AM (UTC) |
Message
| I was wondering if there was a way to change the default background color to something else. I vaguely recall doing it some time back but forgot what I did or where I found the answer; So far all I've found was how to change the standard <Regular and BOLD> text, but not the background Any help would be appreciated.
Thanks In Advance,
Vanidor | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 24 Aug 2010 04:07 AM (UTC) |
Message
| The default background colour is normally ANSI "black". So to change it go green you would do this (in Lua):
SetNormalColour (1, ColourNameToRGB ("green"))
The first argument is 1 (code for black) and the second is how you want black to appear.
However if you have "Use Custom Colour 16 as the default" checked, then the default colour is custom colours 16's background, eg.
SetCustomColourBackground (16, ColourNameToRGB ("blue"))
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,285 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top