summary refs log tree commit diff
path: root/src/terminal/prelude.rs
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@gmail.com>2021-03-11 20:15:47 -0800
committerIrene Knapp <ireneista@gmail.com>2021-03-11 20:15:47 -0800
commit86990efcf8fa63decb05f462d745b95e4992dc77 (patch)
tree46990fd1c749ccca0b6477650973d83174e5e264 /src/terminal/prelude.rs
parenta159d4dd29491a1eb88163e63ceb41a903dc47b6 (diff)
refactor everything into smaller modules; move to using async-std; make the read loop async. some stuff doesn't work yet but it needed to be done and this is as clean a state as it's likely to get in, so we're committing it as a base to build on.
Diffstat (limited to 'src/terminal/prelude.rs')
-rw-r--r--src/terminal/prelude.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/terminal/prelude.rs b/src/terminal/prelude.rs
new file mode 100644
index 0000000..bada817
--- /dev/null
+++ b/src/terminal/prelude.rs
@@ -0,0 +1,4 @@
+#![forbid(unsafe_code)]
+
+pub use crate::terminal::error::{Result, TerminalError};
+