Ansi control

Started by Ian, May 16, 2006, 12:27:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

May 16, 2006, 12:27:01 AM Last Edit: March 21, 2007, 06:54:27 AM by The Crazy Animal
[HP=463/MA=556]:w
Sneaking...
Rocky Trail556]:
Obvious exits: east, southwest
[HP=463/MA=556]:


Rocky Trail556]:
Lines aren't being cleared, just overwritten.  You need to send the <ESC>[2K command (erase line).  This page http://www.termsys.demon.co.uk/vtansi.htm has been my reference for learning ansi.

This problem only seems to arise when MOVING between rooms (ie, not looking or refreshing).  Sneaking seems to make no difference.

Edit: Stoopid me, cos looking or refreshing leaves the statline on the screen, and starts a new line.  Moving seems to be the only command that writes over the statline.
If we can hit that bulls-eye, the rest of the dominoes will fall like a house of cards.? Check-mate!


Quote from: DeathCow on May 16, 2006, 05:13:24 AM
huh
Actually I see what he means.  I wasn't clearing the line when I was showing the room name, I was just doing a carriage return so it was overwriting the prompt rather than clearing it.  I wrote in the fix, should show up next version.


TGS v1.0 (coming soon)