mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
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:
parent
d4ba2840c5
commit
9cf7a85a6e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user