All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.1.0 - 2019-07-15
- Added Tree widget #237
3.0.0 - 2019-03-07
- Added sync.Locker interface to Drawable interface
- Change scroll method names in List widget
- Fix List widget scrolling
- Add
ColumnResizer
to table which allows for custom column sizing - Add widget padding
- Change various widget field names
- s/
TextParse
/ParseStyles
- Remove
AddColorMap
in place of modifyingStyleParserColorMap
directly
- Add more scrolling options to List
- Make list scroll automatically
- Add scrolling to List widget
- Add WrapText option to Paragraph
- controls if text should wrap automatically
- Add image widget #126
- Change LineChart to Plot
- Added ScatterPlot mode which plots points instead of lines between points
- Add
Canvas
which allows for drawing braille lines to aBuffer
- Set
termbox-go
backend to 256 colors by default - Moved widgets to
github.com/gizak/termui/widgets
- Rewrote widgets (check examples and code)
- Rewrote grid
- grids are instantiated locally instead of through
termui.Body
- grids can be nested
- change grid layout mechanism
- columns and rows can be arbitrarily nested
- column and row size is now specified as a ratio of the available space
- grids are instantiated locally instead of through
Cell
s now contain aStyle
which holds aFg
,Bg
, andModifier
- Change
Bufferer
interface toDrawable
- Add
GetRect
andSetRect
methods to control widget sizing - Change
Buffer
method toDraw
Draw
takes aBuffer
and draws to it instead of returning a newBuffer
- Add
- Refactor
Theme
Theme
is now a large struct which holds the defaultStyles
of everything
- Combine
TermWidth
andTermHeight
functions intoTerminalDimensions
- Rework
Block
- Rework
Buffer
methods - Decremente color numbers by 1 to match xterm colors
- Change text parsing
- change style items from
fg-color
tofg:color
- adde mod item like
mod:reverse
- change style items from
- Move Tabpane from termui/extra to termui and rename it to TabPane
- Rename PollEvent to PollEvents
- Migrate from Dep to vgo
- Overhaul the event system
- check the wiki/examples for details
- Rename Par widget to Paragraph
- Rename MBarChart widget to StackedBarChart