Matthew Coleman
ec14443ef9
More documentation updates
2024-03-07 19:31:18 -05:00
Matthew Coleman
edab304013
Function re-ordering
2024-03-07 18:57:20 -05:00
Matthew Coleman
029ce611e8
Linting adjustments
2024-03-07 18:49:29 -05:00
Matthew Coleman
5b664845a5
Reversed split for percentages
2024-03-07 18:47:11 -05:00
Matthew Coleman
992d7f3bfc
Lint fixes
2024-03-07 17:58:36 -05:00
Matthew Coleman
ca93ed8334
Define shared logic for vertical cell splits
2024-03-07 17:55:44 -05:00
Matthew Coleman
610a070aab
Add test for HSplitCellsReversed
2024-03-07 17:26:16 -05:00
Matthew Coleman
275c62fc47
Restore HSplitCells to original function signature
2024-03-07 17:16:09 -05:00
Matthew Coleman
4465700c5d
Allow reverse horizontal area splits
2024-03-05 11:00:54 -05:00
Jakub Sobon
244687324e
Fix gofmt error.
...
Signed-off-by: Jakub Sobon <jakub.sobon@elohim.sk>
2023-02-08 16:48:15 -05:00
Jakub Sobon
fa5cbadc35
Fixing one misformatted doc comment.
...
Signed-off-by: Jakub Sobon <jakub.sobon@elohim.sk>
2023-02-08 16:37:38 -05:00
Jakub Sobon
94d07aea18
Format files with gofmt from Golang 1.20.
...
Signed-off-by: Jakub Sobon <jakub.sobon@elohim.sk>
2023-02-08 13:15:27 -05:00
Jakub Sobon
4a87d5279a
Add a missing license.
2022-07-07 13:46:45 -04:00
Jakub Sobon
4238ac6f76
Implements a buffer limit for the Text widget. ( #301 )
...
See issue #293 where memory and performance can degrade with a high number of lines written to the Text widget.
This is a very simplistic implementation to limit the possible length the text buffer can grow to with the `maxContent` option.
Default value of -1 means there's no limit and therefore behaviour should remain standard.
It has been working in our test app and allows the use of the Text widget to monitor logs (ie tail) and therefore doesn't bloat over time, but happy to adjust as required.
2021-04-03 17:04:53 -04:00
Jakub Sobon
9360ffff49
Bugfix: avoid crash on terminal rezise with tcell.
2020-12-27 02:53:08 -05:00
Jakub Sobon
6a4dc1dc3f
Fakewidget now indicates focus state when an event is received.
2020-11-27 22:56:37 -05:00
Jakub Sobon
dd6acb15e1
Give metadata about events to widgets.
2020-11-24 22:03:58 -05:00
Jakub Sobon
765556fe8e
faketerm diff: only print cells with differences.
2020-11-24 15:18:50 -05:00
Jakub Sobon
681499d0a9
Adding test coverage to faketerm.
2020-11-14 00:40:02 -05:00
Jakub Sobon
f0eac874cc
Switching coveralls to Github app.
2020-06-20 15:20:12 -04:00
Jakub Sobon
06eb7623bd
Modifying imports 'internal' -> 'private'.
2020-04-10 15:26:45 -04:00
Jakub Sobon
254ca7d460
Renamed 'internal' directory to 'private'.
2020-04-10 15:13:15 -04:00