fhaynes / slithermud

Automatically exported from code.google.com/p/slithermud
Other
0 stars 0 forks source link

ASCII Color Support #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Should be a module that, if the character is flagged as wanting color, will
replace our custom color codes with appropiate VT100 codes.

Example..we can do: c.writeWithPrompt("<red>You have died!<r>") and the
game will translate <red> into the \x09439059u43593 or whatever the
appropiate VT100 code is.

Original issue reported on code.google.com by KurosKni...@gmail.com on 9 Oct 2007 at 11:19

GoogleCodeExporter commented 9 years ago
Are we going for full VT100 support?  Because you can do some really nifty 
things
with that and every basic telnet program out there supports them, you can 
pretty much
turn the terminal into a client that's just as fast as raw telnet. :)

Original comment by vop...@gmail.com on 10 Oct 2007 at 4:20

GoogleCodeExporter commented 9 years ago
Yeah, I've seen some MUDs where they have like 3 rows at the bottom that don't 
move,
providing a static prompt. 

I have no problem implementing the control codes to handle that, as that is a 
trivial
exercise. Personally, I don't plan to actually do anything with them beyond 
color,
but if you want too, that is fine.

I actually wish there was an ncurses library for Python. Ncurses is the library 
they
use for those command line GUIs...with the boxy menus and such. Old school. I 
don't
actually know if it can be used over telnet, though...

Original comment by KurosKni...@gmail.com on 11 Oct 2007 at 5:32

GoogleCodeExporter commented 9 years ago

Original comment by KurosKni...@gmail.com on 11 Oct 2007 at 8:50