Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
nikapika
Newbie


Joined: 22 Apr 2012
Posts: 6

PostPosted: Tue May 07, 2013 4:35 pm   

[bug] Change command line size
 
Is there any way to change the height of the command line?
I'm playing a MUD that supports VT-100, which works great up until I type in more than two lines of text and the command line automatically becomes larger. At the point the screen basically resets itself. Turning off command line wrapping seems to be the only way to fix it, however I cannot see what I type once I get to the second line.


Last edited by nikapika on Thu May 09, 2013 12:07 pm; edited 1 time in total
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4774
Location: Pensacola, FL, USA

PostPosted: Tue May 07, 2013 9:53 pm   
 
Not that I am aware of... not and have it stay that size....
However!
If you know you are going to input several lines at once, you could always use the editor as a command line..

CTRL + SHIFT + ENTER opens it
_________________
Discord: Shalimarwildcat
Reply with quote
nikapika
Newbie


Joined: 22 Apr 2012
Posts: 6

PostPosted: Thu May 09, 2013 11:31 am   
 
shalimar wrote:
Not that I am aware of... not and have it stay that size....
However!
If you know you are going to input several lines at once, you could always use the editor as a command line..

CTRL + SHIFT + ENTER opens it


Huge thanks for the reply. Unfortunately, I'm playing an RP-heavy MUD and would have to do that for every other emote, so it's not really a solution. Any other ideas? Surely there's some way to create a custom command line or tweak the size of the current one in some config file. :(

EDIT: *sigh* This is clearly a bug. I just did the same thing in ZMud and disabled command line wrapping. What happens is that the "camera" it follows the input, as it most likely should have in CMUD. I guess this won't be fixed any time soon.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Thu May 09, 2013 3:25 pm   
 
I'm not sure I understanding your question... I just tried disabling command line wrapping (you're talking about the Prefs -> User Interface -> Command Line -> Word-wrap command line setting, right?) and it seemed to work fine for me. When I got to the end of the command line and kept typing it just "scrolled" right. I could still see what I was typing.
Reply with quote
nikapika
Newbie


Joined: 22 Apr 2012
Posts: 6

PostPosted: Thu May 09, 2013 3:28 pm   
 
Daern wrote:
I'm not sure I understanding your question... I just tried disabling command line wrapping (you're talking about the Prefs -> User Interface -> Command Line -> Word-wrap command line setting, right?) and it seemed to work fine for me. When I got to the end of the command line and kept typing it just "scrolled" right. I could still see what I was typing.


This is exactly what I'm talking about, but somehow it doesn't happen on my installation. Version 3.34?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4774
Location: Pensacola, FL, USA

PostPosted: Thu May 09, 2013 4:09 pm   
 
the editor can be docked and left open
or you can right click on the title bar and check stay on top

Perhaps not the most efficient, but effective.
_________________
Discord: Shalimarwildcat
Reply with quote
nikapika
Newbie


Joined: 22 Apr 2012
Posts: 6

PostPosted: Thu May 09, 2013 4:14 pm   
 
So I looked at what Daern described and this does indeed work, but it's still buggy. If you switch the wrapping off, it works fine for a session, but produces the same buggy behaviour once you restart the client. The only way to fix it is by switching wrapping back on and off again.

Is there maybe some alias I could write to do that for the purposes of a workaround?
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Thu May 09, 2013 4:52 pm   
 
Try this:
Code:
#EVENT OnLoad {
   #CALL %pref("WrapCommand", 1)
   #CALL %pref("WrapCommand", 0)
}
Reply with quote
nikapika
Newbie


Joined: 22 Apr 2012
Posts: 6

PostPosted: Thu May 09, 2013 7:29 pm   
 
Daern wrote:
Try this:
Code:
#EVENT OnLoad {
   #CALL %pref("WrapCommand", 1)
   #CALL %pref("WrapCommand", 0)
}


The code works, but it doesn't fix the issue. It has to be switched off from the prefs window to start scrolling properly. Is anybody else having this issue or is it somehow specific to my installation?
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
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

© 2009 Zugg Software. Hosted by Wolfpaw.net