global pak.count#


methods#


M.update#


function M.update(
  package: string,
  value: string
) ->  nil

@param package - The package key

@param value - The new char value for the given package

Updates the given package in the current buffer view

M.updates#


function M.updates(tbl: table[]) ->  nil

@param tbl - The table of (packages, values)

Updates the whole buffer view with a table of new/updates packages

M.set_status#


function M.set_status(str: string) ->  nil

@param str - The status string

Sets the bottom line to the given status string

M.display#


function M.display() ->  nil

Triggers a redraw on the whole window buffer

fields#


M.packages#


M.packages: table

M.longest_word#


M.longest_word: integer = 2

M.per_line#


M.per_line: integer = 1

M.space_between#


M.space_between: integer = 0

M.status#


M.status: string = ""