3b09c07e7a
This introduces a new interface `Clickable`. I'd imagine this would be implemented for most widgets eventually and would allow for programs run in the terminal to also have their mouse events forwarded to them. For the tabs it was relatively simple to check that the position of the click is within the boxes for the tabs. For other components I'd imagine that some state representing their currently drawn bounding box would be useful. |
||
---|---|---|
.. | ||
ui | ||
dirstore.go | ||
indexformat.go | ||
msgstore.go | ||
oauthbearer.go | ||
open.go | ||
open_darwin.go |