termui/CHANGELOG.md

54 lines
1.8 KiB
Markdown
Raw Normal View History

2019-01-24 04:12:10 +00:00
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-24 05:10:14 +00:00
## 2019/01/23
2019-01-24 04:12:10 +00:00
2019-01-24 12:19:47 +00:00
Non breaking changes:
- Set `termbox-go` backend to 256 colors by default
- Added `Canvas` which allows for drawing braille lines to a `Buffer`
Breaking changes:
2019-01-24 04:12:10 +00:00
- 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
- `Cell`s now contain a `Style` which holds a `Fg`, `Bg`, and `Modifier`
- Change `Bufferer` interface to `Drawable`
- Add `GetRect` and `SetRect` methods to control widget sizing
- Change `Buffer` method to `Draw`
- `Draw` takes a `Buffer` and draws to it instead of returning a new `Buffer`
- Refactored `Theme`
- `Theme` is now a large struct which holds the default `Styles` of everything
- Combined `TermWidth` and `TermHeight` functions into `TerminalDimensions`
- Refactored `Block`
- Refactored `Buffer` methods
- Decremented color numbers by 1 to match xterm colors
- Changed text parsing
- style items changed from `fg-color` to `fg:color`
- added mod item like `mod:reverse`
2019-01-24 05:10:14 +00:00
## 2018/11/29
2018-11-29 20:19:29 +00:00
- Move Tabpane from termui/extra to termui and rename it to TabPane
2018-11-29 23:15:57 +00:00
- Rename PollEvent to PollEvents
2018-11-29 20:19:29 +00:00
2019-01-24 05:10:14 +00:00
## 2018/11/28
2018-11-29 05:13:29 +00:00
- Migrated from Dep to vgo
- Overhauled the event system
2018-11-29 16:49:07 +00:00
- check the wiki/examples for details
2018-11-29 05:17:26 +00:00
- Renamed Par widget to Paragraph
- Renamed MBarChart widget to StackedBarChart