summaryrefslogtreecommitdiffstats
path: root/src/history.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-11-17 21:01:54 -0500
committerJesse Luehrs <doy@tozt.net>2021-11-17 21:01:54 -0500
commitd03e0e591023d2398ceb0a36e6713a60a912a199 (patch)
tree1e78ac1936ec7f9477e2708fb82073fbd71ce37d /src/history.rs
parent696617020468b23b2b75393849e8f8aa946b5155 (diff)
downloadnbsh-d03e0e591023d2398ceb0a36e6713a60a912a199.tar.gz
nbsh-d03e0e591023d2398ceb0a36e6713a60a912a199.zip
make the ui a bit more consistent when moving focus around
Diffstat (limited to 'src/history.rs')
-rw-r--r--src/history.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/history.rs b/src/history.rs
index 5bd377a..3c15625 100644
--- a/src/history.rs
+++ b/src/history.rs
@@ -119,12 +119,6 @@ impl History {
}
});
self.entries.push(entry);
- self.action
- .send(crate::action::Action::UpdateFocus(
- crate::state::Focus::History(self.entries.len() - 1),
- ))
- .await
- .unwrap();
Ok(self.entries.len() - 1)
}