Whats up with the colors? |
by ffff
on 10/16/2007 23:10, 7 messages, last message: 10/27/2007 12:16, 2421 views, last view: 04/15/2024 00:10 |
|
Whats up with the colors on the serverlist? How can you make that?
|
|
Board Index
|
|
#1: .. |
by GreyMario
on 10/17/2007 03:08
|
|
You do that by using this symbol:
It, combined with ONE of the numbers 0 through 7, will cause all text until the next color change or the endofline to be colored.
reply to this message
|
|
#2: Re: .. |
by GreyMario
on 10/17/2007 03:09, refers to #1
|
|
And as a quick note because there is no edit option, you have to copy and paste that symbol.
reply to this message
|
|
#3: What symbol? |
by dfdjfhsdkjfhdsjkfconorhfjdshfsjk
on 10/22/2007 05:42
|
|
All I see is a square...
reply to this message
|
|
#4: Re: What symbol? |
by MeatROme
on 10/22/2007 06:31, refers to #3
|
|
As explained numerous times already the required character is a control-character - so isn't readily printable and has no defined visual.
In this case it's the char for vertical-TAB (often represented as "\f" like a newline-char is "\n") ... check packages/base/4b1.cfg line 28 just before the words "security disc" ... that's what it looks like in your editor ... of course, just like with your browser, display of these inherently unprintable characters depends on the character-set (read "font") used.
HTH
reply to this message
|
|
#5: Ok |
by conorfjdfhkjsdfhjksdfhkjsdfhsdkj
on 10/24/2007 15:28
|
|
Like on my Mac where I hold option and type?
Çübé éñ©iñé ©åmés?
å∫ç∂´ƒ©˙ˆ∆˚¬µ˜øπœ®ß†¨√∑≈¥Ω
reply to this message
|
|
#6: Re: Ok |
by demosthenes
on 10/27/2007 00:03, refers to #5
|
|
It's 12, btw.
On a Windows box, Alt+0012 gives you that character, but I can't remember how the manual entry of ASCII works on a Mac.
reply to this message
|
|
#7: here.. |
by Quin
on 10/27/2007 12:16
|
|
console.cpp, in void keypress() under the 'else if (saycommandon)' part there is a 'switch(code)' statement. Add this after the 'resetcomplete();' in the 'default:' case:
if (code == SDLK_f && (SDL_GetModState()&MOD_KEYS)) cooked = '\f';
This will let you type CTRL+F and then a number to make coloured text on the command line. And no, I won't help you do this if you don't understand what I am talking about, sorry.
reply to this message
|
|
|
Board Index
|
|