We provide two main methods: showStatusHtml, which shows the status line in HTML format, and showStatusText, which shows the status line in plain text mode. To display the status line, we invoke one or the other of these methods, according to the current mode, to display the statusline. The default implementations of these methods generate the appropriate formatting codes for a statusline with a left part and a right part, calling showStatusLeft and showStatusRight, respectively, to display the text for the parts.
Games can customize the statusline at two levels. At the simpler level, a game can modify showStatusLeft and/or showStatusRight to change the text displayed on the left and/or right of the statusline. Since these two methods are used regardless of the statusline style of the underlying interpreter, games don't have to worry about the different modes when overriding these.
At the more complex level, a game can modify showStatusHtml and/or showStatusText. Modifying these routines provides complete control over the formatting of the entir status line. If a game wants to use something other than the traditional left/right display, it must modify these methods.
This object is transient, because the statusline style is a function of the interpreter we're currently running on, and thus isn't suitable for saving persistently.
transient statusLine : object
If showStatusHtml() is overridden to display more or fewer lines of text than the basic implementation here, then this routine must be overridden as well to reflect the new height.