Skip to content

Latest commit

 

History

History
119 lines (87 loc) · 4.37 KB

File metadata and controls

119 lines (87 loc) · 4.37 KB

Changelog

[0.1.1] - 2026-03-15

Public release!

Changes

  • Fixed crash when selected pos was bigger, than amount of items in list
  • Fixed rect.get_minimal_layout(?)
  • Optimized list component, when it had big array of items, and was unwrapping all of them
  • Moved funcion check in register_object

New

  • List now has option to set (if known) a fixed size of all components, which fastens computing
  • List now has style for selected item
  • Added docs
  • Added modal component, which basically is rect that clears all that was written before
  • Added method for inserting new item to list, without giving full array

[0.1.0] - 2026-03-07

Changes

  • Heavy optimizations:
    • buffer.flush_buffer was rewritten on awk, given huge perfomance boost
    • Style now processed inside buffer.flush_buffer
    • Rewriten components, so they use optimal buffer.insert_x functions
    • layout.get_size layout.get_rect object.get_minimal_size are now returning values using export. Moved to exporting because subshells are slow
  • Related to buffer functions was put in buffer class
  • Removed buffer_helpers file, as it was mostly migrated to buffer class

New

  • Cursor now hidden completely upon start
  • Buffer and style now has functions to draw area, instead of processing each pixel. Its preferable to use theese function as they are much more faster than style.apply and buffer.insert
  • Forgot to add style class to list, so here it is
  • Added set_style to abstract object class

[0.0.9] - 2026-03-05

Changes

  • Layout now required in .draw() instead of .new(). Before that change, creating a component for drawing within another component required assigning a layout which was then immideately replaced
  • Layout no longer modify components on resize
  • Fixed minor error in layout split calculation

New

  • All components upon creation are registered in global table, this allow abstraction over concrete type, for more see object component
  • Added list component, for rendering many items in layout, that couldn't fit all items

[0.0.8] - 2026-03-04

Changes

  • Fixed label positioning when it was centered

New

  • Label now has set_multiline_mode which can be use for multiline mode if text doesn't fits itself into one line
  • Added delete functions for components and layouts, note that in layout child layouts and components will also be deleted

[0.0.7] - 2026-03-02

Changes

  • Fixed that if rect.set_title_style was called before rect.set_title, style was not applied

New

  • Added gauge component (vertical and horizontal versions), with optional label inside of it

[0.0.6] - 2026-03-01

Changes

New

  • Added gracefull shutdown
  • On terminal resize all layouts will be recalculated, note that layouts created from specified size are not going to be recalculated

Changes

  • Removed new_from_size from rect and label, now you need to create layout from size first, then pass it to label(or rect).new

[0.0.5] - 2026-02-28

Changes

  • Style instead of special arg for disabling or enabling now accept styleparam=value, this can help with attrs that cannot rely on 1 or 0, for example color

New

  • Added foreground and background colors as style properties, both params are passed in r;g;b , all colors may be unsupported in some terminals

[0.0.4] - 2026-02-27

Changes

  • Added unicode_start and unicode_exit so in tty symbols are rendered properly
  • Fixed typo in move_cursor, which somehow worked before
  • Changed layout split functions behaivour

New

  • Layout now can have properties while splitting - size can be given in (flex grow, pixel, percentage of layout)

[0.0.3] - 2026-02-26

Changes

  • Renamed symbol class to style
  • Optimized getting modifiers for symbol during draw

New

  • label and rect now implements style.set_style and rect also implement style.set_title_style
  • rect now can give layout that will be inside of that rect, excluding borders.

[0.0.2] - 2026-02-24

Changes

  • Buffer now moves cursor to top of the screen, so in tty redrawing no longer(?) 'jumps'

New

  • Added attributes to characters in buffer, so there's a way to draw rich text (blink, colored, etc)

[0.0.1] - 2026-02-23

  • Started changelog

New

  • Created components, for now its only label and rect
  • Added layout, with splitting evenly horizontally or vertically. You should see it as hbox or vbox and build inside of it
  • Added buffer will draw everything that was put in