summaryrefslogtreecommitdiffstats
path: root/src/display/ui.rs
diff options
context:
space:
mode:
authorNbiba Bedis <bedisnbiba@gmail.com>2021-01-19 18:55:30 +0100
committercyqsimon <28627918+cyqsimon@users.noreply.github.com>2023-08-25 17:34:37 +0800
commit0b7be9398e3b9b0fbe792c51e019e79914f9fd23 (patch)
treefa1a77201552cd9f46c75af74ff7ab05175c88b7 /src/display/ui.rs
parent66ba68954eece41cbc73d09372f060c9af851ccd (diff)
use alternate mode
Diffstat (limited to 'src/display/ui.rs')
-rw-r--r--src/display/ui.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/display/ui.rs b/src/display/ui.rs
index bc459cc..111dfe1 100644
--- a/src/display/ui.rs
+++ b/src/display/ui.rs
@@ -190,7 +190,6 @@ where
self.ip_to_host.extend(ip_to_host);
}
pub fn end(&mut self) {
- self.terminal.clear().unwrap();
self.terminal.show_cursor().unwrap();
}
}