mirror of https://github.com/gizak/termui.git
1.8 KiB
1.8 KiB
Feel free to search/open an issue if something is missing or confusing from the changelog, since many things have been in flux.
2019/01/24
Breaking changes:
- Change LineChart to Plot
- Added ScatterPlot mode which plots points instead of lines between points
2019/01/23
Non breaking changes:
- Set
termbox-go
backend to 256 colors by default - Added
Canvas
which allows for drawing braille lines to aBuffer
Breaking changes:
- 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
- changed 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
- Refactored
Theme
Theme
is now a large struct which holds the defaultStyles
of everything
- Combined
TermWidth
andTermHeight
functions intoTerminalDimensions
- Refactored
Block
- Refactored
Buffer
methods - Decremented color numbers by 1 to match xterm colors
- Changed text parsing
- style items changed from
fg-color
tofg:color
- added mod item like
mod:reverse
- style items changed from
2018/11/29
- Move Tabpane from termui/extra to termui and rename it to TabPane
- Rename PollEvent to PollEvents
2018/11/28
- Migrated from Dep to vgo
- Overhauled the event system
- check the wiki/examples for details
- Renamed Par widget to Paragraph
- Renamed MBarChart widget to StackedBarChart