Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Lock Command Input Height

Lock Command Input Height

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by VBMeireles   Brazil  (47 posts)  Bio
Date Fri 10 Sep 2010 04:30 PM (UTC)
Message
Is there a way to lock the height for the command input bar? Sometimes I accidentally change it with the mouse and I'm kind of annoyed by having more than one line there.

I tried searching the forums for "lock command input" but couldn't find anything.

If there is a way to do it, I'd rather have it automatically locked into a single line prompt that fits my input font's height.

At the moment I'm using SetCommandWindowHeight(GetInfo(241)) to fix it, but the ideal situation would be to have it locked like that.

Thanks!

Vinícius
Top

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #1 on Fri 10 Sep 2010 09:44 PM (UTC)

Amended on Sat 11 Sep 2010 03:14 PM (UTC) by Worstje

Message
The following will still allow you to accidentally resize the input window, but the moment you type, it will fit to suit the content.

Try executing the following in an Immediate (Ctrl+I) window:

SetOption ("auto_resize_command_window", 1)  --> activate auto-resizing for command window
SetOption ("auto_resize_minimum_lines", 1) --> minimum lines for auto-resizing command window 
SetOption ("auto_resize_maximum_lines", 1) --> maximum lines for auto-resizing command window


If you don't like the feature anymore, run:

SetOption ("auto_resize_command_window", 0)  --> no more automatic mucking with the size of the command window
Top

Posted by VBMeireles   Brazil  (47 posts)  Bio
Date Reply #2 on Sat 11 Sep 2010 11:59 AM (UTC)
Message
Thanks for the information! It's a very nice workaround.

Vinícius
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


14,147 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.