aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/context.go
Commit message (Collapse)AuthorAgeFilesLines
* update tcell to v2 and enable TrueColor supporty0ast2020-12-181-2/+2
| | | | | | | | | Also update to the tcell v2 PaletteColor api, which should keep the chosen theme of the user intact. Note, that if $TRUECOLOR is defined and a truecolor given, aerc will now stop clipping the value to one of the theme colors. Generally this is desired behaviour though.
* Add popoversBen Burwell2019-12-211-6/+17
| | | | | | | | | | | | A popover is a special UI element which can be layered over the rest of the UI (i.e. it is painted last) and can fall anywhere on the screen, not just with the bounds of its parent's viewport/context. With these special abilities comes the restriction that only one popover may be visible on screen at once. Popovers are requested from the UI context passed to Draw calls and specify the anchor point and the desired dimensions. The popover is then fit to the available space and placed relative to the anchor point.
* Add cursor handling in ex lineDrew DeVault2019-01-141-8/+9
|
* Apply gofmtDrew DeVault2018-06-111-4/+4
|
* Clean up some old codeDrew DeVault2018-06-111-7/+0
|
* switch to tcell from termboxMarkus Ongyerth2018-06-011-37/+49
| | | | | | | | | | | | | This is a simple mostly straight forward switch to tcell in favor of termbox. It uses the tcell native api (not the compat layer) but does not make use of most features. Further changes should include moving to tcell's views.TextArea and the general built in widget behaviour instead of the current ad hoc implementation. Regression: Cursor isn't shown in ex-line
* Split UI library and widgetsDrew DeVault2018-02-261-0/+109