03d182ca88
Previously removing a tab would always pop from the history of tabs. This checks to see if the closing tab is the one selected, if it is then we use the history, otherwise we only need to change the selected tab if it was after (to the right of) the closing tab, in which case we just decrement the selected index. |
||
---|---|---|
.. | ||
borders.go | ||
context.go | ||
fill.go | ||
grid.go | ||
interfaces.go | ||
invalidatable.go | ||
stack.go | ||
tab.go | ||
text.go | ||
textinput.go | ||
ui.go |