diff options
author | Nathan Lilienthal <nathan@nixpulvis.com> | 2019-01-06 19:06:57 -0500 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-01-07 00:06:57 +0000 |
commit | 04707cbba630e3e4ad6b4200bef8ae7888c49e3b (patch) | |
tree | bd04f4964d4c4ad67cd565b38172b488172acfcc /src/tty | |
parent | dfc30eeef5eb6df9f658e62875e5cde93173e37b (diff) | |
download | alacritty-04707cbba630e3e4ad6b4200bef8ae7888c49e3b.tar.gz alacritty-04707cbba630e3e4ad6b4200bef8ae7888c49e3b.zip |
Normalize Log Message Strings
The general style for errors, warnings and info messages is to start
with a capitalized letter and end without a period. The main exception
is when dealing with nouns that are clearer with special case handling,
e.g. "macOS failed to work" or "ioctl is borked".
Diffstat (limited to 'src/tty')
-rw-r--r-- | src/tty/unix.rs | 2 | ||||
-rw-r--r-- | src/tty/windows/mod.rs | 4 |
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) } } |