aerc/lib/ui
Robin Jarry 171fefd209 tabs: make fields private
The Tabs object exposes an array of Tab objects and the current selected
index in that array. The these two fields are sometimes modified in
goroutines, which can lead to data races causing fatal out of bounds
accesses on the tab array.

Hide these fields as private API. Expose only what needs to be seen from
the outside. This will prepare for protecting concurrent access with
a lock in the next commit.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Koni Marti <koni.marti@gmail.com>
2022-07-23 22:00:25 +02:00
..
borders.go uiconfig: use pointer references to uiConfig 2022-07-03 21:32:18 +02:00
context.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
fill.go view,compose: use border color to separate headers from body 2021-10-28 16:38:23 +02:00
grid.go grid: don't draw at a negative offset 2022-04-28 17:56:37 +02:00
interfaces.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
invalidatable.go lib/ui: introduce Invalidatable 2019-04-27 14:30:28 -04:00
popover.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
stack.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
tab.go tabs: make fields private 2022-07-23 22:00:25 +02:00
text.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
textinput.go uiconfig: use pointer references to uiConfig 2022-07-03 21:32:18 +02:00
ui.go logging: added a log on panic 2022-03-23 20:56:09 +01:00