aboutsummaryrefslogtreecommitdiff
path: root/lib/ui/tab.go
AgeCommit message (Collapse)Author
2019-06-02Add Tabs historyReto Brunner
Fixes #77: When closing a tab, bring you back to the one you last had focused
2019-05-14Update tab name as subject changesDrew DeVault
Also moves truncation to the tab widget
2019-03-30Use tcell.Style.Reverse instead of black on whiteDrew DeVault
2019-03-17Add :term-closeDrew DeVault
2019-03-17Move exline handling up to aerc, add :termDrew DeVault
2019-01-20Implement the Container interface in lib/ui/Drew DeVault
2018-06-13refactor lib/ui/tab to ensure staying in boundsMarkus Ongyerth
Fix a few potential out of bounds by placing proper checks, which should be relevant if all tabs are removed for some reason. Also avoid iterating all tabs in the invalidate handler, since we are only interested in whether it's the selected tab either way
2018-06-11Fix tab invalidation bugsDrew DeVault
2018-06-07Use default color for selected tabDrew DeVault
2018-06-01switch to tcell from termboxMarkus Ongyerth
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
2018-02-26Split UI library and widgetsDrew DeVault