TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

#cursor home and end redrawing problems

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
davevnj



Joined: 22 Nov 2006
Posts: 55

PostPosted: Mon Jan 22, 2007 10:01 am    Post subject: #cursor home and end redrawing problems Reply with quote

Code:
#macro {\eOH} {#cursor home}
#macro {\eOF} {#cursor end}

This code maps the home and end keys to go to the beginning and end of the input text. Sometimes the line doesn't redraw correctly. Here's how to reproduce:

type some random text
hit hom key (moves to front of line)
hit end key (moves to end of line)
hit left arrow key (moves cursor back one)
hit end key (moves to end, but line redraws incorrectly)

You'll see this pretty much any time you move the cursor to the middle of the line. This is present in the beta as well as the last release.
Back to top
View user's profile Send private message Visit poster's website
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Mon Jan 22, 2007 3:07 pm    Post subject: Reply with quote

Remove the line gtd->input_pos = 0 in cursor.c at row 257 and it should work correctly.

Thanks for letting me know.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group