[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Lock Command Input Height
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Lock Command Input Height

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

Posted by VBMeireles   Brazil  (47 posts)  [Biography] bio
Date Fri 10 Sep 2010 04:30 PM (UTC)
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.


[Go to top] top

Posted by Worstje   Netherlands  (899 posts)  [Biography] 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

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
[Go to top] top

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

[Go to top] 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.


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

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]