mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-10 14:44:18 +00:00
dd66ae774c
* refactor: simplify some config -> constraints code * iteratively progress... * update bcr; this might need testing since I removed some old proc code * widget side * fix battery * fix widget tests with bandaid for now The issue was that the calculations assume a certain ratio for CPU legends. * add some tests * bump up * fix proc drawing issues So with the proc widget in certain places, there would be a panic during constraint determination. Looks like back when I wrote this I made some gross assumptions about certain things. In particular, the problem here was that the search added an additional "one" height, so that needs to be accounted for after we removed the "doubling" code. * tests * fix tests * reorganize tests * clippy * fix cross tests not working * fix builds for android
9 lines
265 B
XML
9 lines
265 B
XML
// TODO: Test basic mode
|
|
// #[test]
|
|
// fn test_basic_mode() {
|
|
// let ret_bottom_layout = BottomLayout::init_basic_default(false);
|
|
// }
|
|
|
|
// TODO: Test moving around with procs and their hidden children.
|
|
|
|
// TODO: Test moving around with cpus if they get hidden.
|