summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2020-07-06 10:46:58 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-07-06 10:46:58 +0800
commit3e0d4b022ff8d6ce5115894f3b6ad68f01ff370f (patch)
tree16868154ff1e09fbf6254f8cfa0b88e2b7050b8e /src
parent98f850a1ccd30618620a7d78999899c24463238a (diff)
Always use crossterm for now just to test if it works and…
…it does!
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 8642963..91d0fce 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -31,7 +31,7 @@ fn main() -> Result<()> {
Some(Interactive { input }) => {
let mut terminal = new_terminal(
AlternateRawScreen::try_from(io::stdout())
- .with_context(|| "Failed to initialize alternate raw screen")?,
+ .with_context(|| "Interactive mode requires a connected terminal")?,
)
.with_context(|| "Could not instantiate terminal")?;
let res = TerminalApp::initialize(