ULOS Manual Pages - wm.textbox(3) | Back

NAME
  wm.textbox - simple textbox widget for UWM apps

DESCRIPTION
  This library is similar to the wm.item(3) library, except that its sole purpose is to provide a textbox widget.

  The library returns one function:
    
    function(options:table): table
      Returns a textbox based on the specified options.  These are:

        {
          x = number,
          y = number,
          w = number,
          foreground = number,
          background = number,
          isPassword = boolean,
          submit = function(self, text:string),
          text = string,
          window = table
        }

      The only required options are x, y, w, and window.

  textboxes have the :key, :click, and :refresh methods of the app object.

COPYRIGHT
  ULOS Window Manager copyright (c) 2021 Ocawesome101 under the DSLv2.

REPORTING BUGS
  Please report bugs at https://github.com/ocawesome101/oc-ulos/issues.