mirror of
https://github.com/otakuto/crazydiskinfo.git
synced 2025-08-10 07:54:43 +00:00
Merge pull request #4 from BlueSkyDetector/PR-clear_window_for_removing_remaining_color
Clear window for removing remaining color
This commit is contained in:
commit
2fb109dd67
1 changed files with 3 additions and 0 deletions
3
main.cpp
3
main.cpp
|
@ -456,8 +456,11 @@ int main()
|
||||||
update = [&]()
|
update = [&]()
|
||||||
{
|
{
|
||||||
getmaxyx(stdscr, height, width);
|
getmaxyx(stdscr, height, width);
|
||||||
|
wclear(windowVersion);
|
||||||
drawVersion(windowVersion);
|
drawVersion(windowVersion);
|
||||||
|
wclear(windowDeviceBar);
|
||||||
drawDeviceBar(windowDeviceBar, smartList, select);
|
drawDeviceBar(windowDeviceBar, smartList, select);
|
||||||
|
wclear(windowDeviceStatus);
|
||||||
drawStatus(windowDeviceStatus, smartList[select]);
|
drawStatus(windowDeviceStatus, smartList[select]);
|
||||||
doupdate();
|
doupdate();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue