summaryrefslogtreecommitdiffstats
path: root/src/proclist.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/proclist.rs')
-rw-r--r--src/proclist.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proclist.rs b/src/proclist.rs
index c561fcf..a6da1d3 100644
--- a/src/proclist.rs
+++ b/src/proclist.rs
@@ -657,7 +657,7 @@ impl Widget for ProcView {
}
fn on_key(&mut self, key: Key) -> HResult<()> {
match key {
- Key::Char('w') => {
+ Key::Char('w') | Key::Esc => {
self.animator.set_stale().log();
self.get_core()?.clear().log();
return Err(HError::PopupFinnished) }