Skip to content

ui

Types

UIContext

FieldTypeDescription
bufBufferInstance
elementstable<string, table>
sortedtable[]
dirtyboolean
pressedElementtable|nil
pressedAbsXnumber|nil
pressedAbsYnumber|nil
focusedElementtable|nil

Methods

UI.new(buf)

Create a new UI context bound to a Buffer instance.

  • buf (BufferInstance) A Buffer.new() instance

  • returns (UIContext)

Last updated:

Released under the MIT License.