cli_rs: Do not hide cursor

Summary:
Do not hide cursor because when you stop the process, it leaves the cursor as disabled.

Even when this was disabled, you could still type anyway. Better to use alternate methods to disable this.

Reviewed By: fanzeyi

Differential Revision: D32254638

fbshipit-source-id: ce76b8943aea5f15eb35a263afc1b67593c2ba12
This commit is contained in:
Grace Ku 2021-11-10 16:22:09 -08:00 committed by Facebook GitHub Bot
parent d4ba2840c5
commit 9cf7a85a6e

View File

@ -221,7 +221,7 @@ impl crate::Subcommand for MinitopCmd {
// Setup rendering
let mut stdout = stdout();
execute!(stdout, cursor::Hide, terminal::DisableLineWrap).from_err()?;
execute!(stdout, terminal::DisableLineWrap).from_err()?;
loop {
// Update currently tracked processes (and add new ones if they haven't been tracked yet)