[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]  Command window size info.
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Command window size info.

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

Posted by Wuggly   USA  (112 posts)  [Biography] bio
Date Sat 14 May 2016 05:03 PM (UTC)
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,
, but I am just wanting to pull that info out.

Is their a function for that?
[Go to top] top

Posted by Wuggly   USA  (112 posts)  [Biography] bio
Date Reply #1 on Sat 14 May 2016 05:59 PM (UTC)
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.
[Go to top] top

Posted by Meerclar   USA  (733 posts)  [Biography] bio
Date Reply #2 on Sun 15 May 2016 01:48 PM (UTC)
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
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sun 15 May 2016 08:15 PM (UTC)
Wuggly said:

Is their a function for that?

It looks like there isn't.

- Nick Gammon

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