aboutsummaryrefslogtreecommitdiff
path: root/src/tty
diff options
context:
space:
mode:
Diffstat (limited to 'src/tty')
-rw-r--r--src/tty/unix.rs2
-rw-r--r--src/tty/windows/mod.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tty/unix.rs b/src/tty/unix.rs
index e8a28c91..2a07fc58 100644
--- a/src/tty/unix.rs
+++ b/src/tty/unix.rs
@@ -316,7 +316,7 @@ pub fn new<T: ToWinsize>(
pty
},
Err(err) => {
- die!("Command::spawn() failed: {}", err);
+ die!("Failed to spawn command: {}", err);
}
}
}
diff --git a/src/tty/windows/mod.rs b/src/tty/windows/mod.rs
index 1eb442ad..fff40cb3 100644
--- a/src/tty/windows/mod.rs
+++ b/src/tty/windows/mod.rs
@@ -85,10 +85,10 @@ pub fn new<'a>(
window_id: Option<usize>,
) -> Pty<'a> {
if let Some(pty) = conpty::new(config, options, size, window_id) {
- info!("Using Conpty agent.");
+ info!("Using Conpty agent");
pty
} else {
- info!("Using Winpty agent.");
+ info!("Using Winpty agent");
winpty::new(config, options, size, window_id)
}
}