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

Backscroll One Line At A Time

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Feature Requests
View previous topic :: View next topic  

Does scrolling the buffer one line at a time interest you?
Yes
50%
 50%  [ 2 ]
No
50%
 50%  [ 2 ]
Total Votes : 4

Author Message
jenksy



Joined: 31 Dec 2015
Posts: 1

PostPosted: Thu Dec 31, 2015 1:35 am    Post subject: Backscroll One Line At A Time Reply with quote

Hello!

First time poster here. Firstly, LOVE the client! Wish I would have known about this back in the 90's when I was mudding more!

I'm using Tintin++ on a Macbook Pro, making use of the #split 10 1 feature to have a map up top and a non-interrupted input bar on the bottom. What I'd liek to be able to do is scroll back the buffer one line at a time rather than a full page... Still include the page, but maybe if I were to also hold SHIFT in combination with fn while pressing up/down it would scroll one line at a time so I would have an easier time following the scroll with my eyes?

Thanks for listening!
Back to top
View user's profile Send private message
moire



Joined: 29 Jan 2012
Posts: 24

PostPosted: Thu Dec 31, 2015 9:06 pm    Post subject: Re: Backscroll One Line At A Time Reply with quote

Quote:
I'd liek to be able to do is scroll back the buffer one line at a time rather than a full page...


Something like this might work with the #MACRO and #BUFFER commands, see #HELP MACRO to see how to register the desired keys and #HELP BUFFER:
Code:

#macro {\eOA} {
    #math BUF_LINE {${BUF_LINE} + 1};
    #buffer find {${BUF_LINE}} {^};
}
#macro {\eOB} {
    #math BUF_LINE {${BUF_LINE} - 1};
    #buffer find {${BUF_LINE}} {^};
}
#macro {\e[24~} {
     #var BUF_LINE 0;
     #buffer end;
}
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Sun Aug 21, 2016 9:30 pm    Post subject: Reply with quote

Fairly easy to add, but it doesn't look pretty because it's jumpy.

Moire's script works, so that's an option.
Back to top
View user's profile Send private message Send e-mail
Slysven



Joined: 10 Apr 2011
Posts: 365
Location: As "Jomin al'Bara" in WoTMUD or Wiltshire, UK

PostPosted: Thu Sep 01, 2016 8:48 pm    Post subject: Reply with quote

Is a three part #SPLIT the maximum that can be done with {is it termcaps?}

if a four part split can be maintained, the upper part of the middle could be the scroll-able back buffer of historical output and the lower part would be one (or more) of the most recent output lines - when a scroll back is not in effect the two could be merged to show more of latter.

This "output" inner split is like how the GUI client I code for now does it, so it isn't an orginal idea of mine...! Cool
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Thu Sep 01, 2016 10:09 pm    Post subject: Reply with quote

Three part split is all that's supported on the major terminals.

Could simulate a 4-way split, but I have little interest in creating or maintaining such a thing.

Think I've pretty much reached a feature stop. Few things left like a #port command to allow incoming connections and local variable support.
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 -> Feature Requests 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