utils.menufontsize

Alters the size of the font used in menus

Prototype

oldSize = utils.menufontsize (newSize)

Description

For the benefit of players with large monitors, you can set the font size for MUSHclient menus, for example:

  oldSize = utils.menufontsize (15)
The font size must be in the range 5 to 30 (points). Other sizes will be ignored.

In any event, the function returns what the font size was previously. Note that this will probably affect all applications, not just MUSHclient.

You may want to remember the old font size, and restore the menu font size when MUSHclient loses the focus. On my system, the "normal" size was 11 points.

Lua functions

Topics