You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tui-rs/tests
Kemyt 62495c3bd1
fix(widgets/barchart): fix chart filled more than actual (#383)
* Fix barchart incorrectly showing chart filled more than actual

Determination of how filled the bar should be was incorrectly taking the
entire chart height into account, when in fact it should take height-1, because
of extra line with label. Because of that the chart appeared fuller than it
should and was full before reaching maximum value.

* Add a test case for checking if barchart fills correctly up to max value

Co-authored-by: Kemyt <kemyt4@gmail.com>
4 years ago
..
backend_termion.rs fix(backend): move the cursor when first diff is on second cell 4 years ago
terminal.rs refactor(tests): rename integration tests to be able to call group of tests 4 years ago
widgets_barchart.rs fix(widgets/barchart): fix chart filled more than actual (#383) 4 years ago
widgets_block.rs refactor: implement cascading styles 4 years ago
widgets_chart.rs feat(text): add new text primitives 4 years ago
widgets_gauge.rs feat(terminal): Add after-draw() cursor control to Frame (#91) (#309) 4 years ago
widgets_list.rs refactor: implement cascading styles 4 years ago
widgets_paragraph.rs feat(text): add new text primitives 4 years ago
widgets_table.rs feat(terminal): Add after-draw() cursor control to Frame (#91) (#309) 4 years ago
widgets_tabs.rs feat(text): add new text primitives 4 years ago