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 ➜ Command window size info.

Command window size info.

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


Posted by Wuggly   USA  (112 posts)  Bio
Date Sat 14 May 2016 05:03 PM (UTC)
Message
I can't seem to find a way to detect the command input window size.

The closest I've found is where you can set it,
http://www.mushclient.com/scripts/function.php?name=SetCommandWindowHeight
, but I am just wanting to pull that info out.

Is their a function for that?
Top

Posted by Wuggly   USA  (112 posts)  Bio
Date Reply #1 on Sat 14 May 2016 05:59 PM (UTC)
Message
Nevermind, I was just having a long brainfart since I can just get the output window client height info with GetInfo(280)

My problem is I was using GetInfo(263) which was including the command window height.

Although I am still curious about the question.
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #2 on Sun 15 May 2016 01:48 PM (UTC)
Message
Detecting input size at worst should be as simple as converting GetInfo 280 and 263 to numbers and and subtracting if there's not a direct function for just the input window size.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 15 May 2016 08:15 PM (UTC)
Message
Wuggly said:

Is their a function for that?


It looks like there isn't.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


15,829 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.