summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2021-08-13 22:21:55 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2021-08-23 16:55:32 -0400
commit5749c32bd56e5b08ada9ead3f47b1d190e5e86ec (patch)
tree8288e230446da2a48724f2434ffc9d6c90e4ebc5 /src/utils
parentf73ea0da365efa35be31379d799a2a9f07bfc38f (diff)
deps: Update crossterm + tui-rs, along with event handling code
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/error.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/utils/error.rs b/src/utils/error.rs
index e265ad3e..7a9009d2 100644
--- a/src/utils/error.rs
+++ b/src/utils/error.rs
@@ -16,9 +16,6 @@ pub enum BottomError {
/// An error when the heim library encounters a problem.
#[error("Error caused by Heim, {0}")]
InvalidHeim(String),
- /// An error when the Crossterm library encounters a problem.
- #[error("Error caused by Crossterm, {0}")]
- CrosstermError(String),
/// An error to represent generic errors.
#[error("Generic error, {0}")]
GenericError(String),
@@ -55,11 +52,6 @@ impl From<heim::Error> for BottomError {
}
}
-impl From<crossterm::ErrorKind> for BottomError {
- fn from(err: crossterm::ErrorKind) -> Self {
- BottomError::CrosstermError(err.to_string())
- }
-}
impl From<std::num::ParseIntError> for BottomError {
fn from(err: std::num::ParseIntError) -> Self {