gpustat icon indicating copy to clipboard operation
gpustat copied to clipboard

Fix the afterimage texts that appear when the number of processes changes

Open XuehaiPan opened this issue 3 years ago • 2 comments

When a new process is created or an old process is gone, command python3 -m gpustat -i 5 --show-all --show-full-cmd does not remove the old texts on the terminal.

Screenshot 1 Screenshot 2

XuehaiPan avatar Jun 04 '21 13:06 XuehaiPan

Great. Is it possible to add a test case for this bug fix?

Stonesjtu avatar Jul 22 '21 08:07 Stonesjtu

Is it possible to add a test case for this bug fix?

This issue only occurs in watch mode (with --watch / -i / --interval option). And test cases in test_gpustat.py are testing for normal mode (without stdout redirection to blessed.Terminal()).

XuehaiPan avatar Jul 23 '21 13:07 XuehaiPan

Thanks, I will have a look soon.

wookayin avatar Sep 25 '22 19:09 wookayin

Works well perfectly as expected and explained, thank you very much @XuehaiPan.

wookayin avatar Oct 10 '22 20:10 wookayin