aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal
diff options
context:
space:
mode:
authorJosh Soref <2119212+jsoref@users.noreply.github.com>2024-05-24 13:32:11 -0400
committerGitHub <noreply@github.com>2024-05-24 17:32:11 +0000
commitcacdb5bb3b72bad2c729227537979d95af75978f (patch)
tree886c6e8a4beadfa443a69d9e5acf18af83a53d8c /alacritty_terminal
parenta89d4f50dc6ac0256d6d52371c3711107de8c7d2 (diff)
downloadalacritty-cacdb5bb3b72bad2c729227537979d95af75978f.tar.gz
alacritty-cacdb5bb3b72bad2c729227537979d95af75978f.zip
Fix spelling errors
Diffstat (limited to 'alacritty_terminal')
-rw-r--r--alacritty_terminal/src/term/mod.rs2
-rw-r--r--alacritty_terminal/src/tty/unix.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs
index 54b64a73..4113ed9c 100644
--- a/alacritty_terminal/src/term/mod.rs
+++ b/alacritty_terminal/src/term/mod.rs
@@ -2082,7 +2082,7 @@ impl<T: EventListener> Handler for Term<T> {
let mode = match mode {
ansi::Mode::Named(mode) => mode,
ansi::Mode::Unknown(mode) => {
- debug!("Ignorning unknown mode {} in unset_mode", mode);
+ debug!("Ignoring unknown mode {} in unset_mode", mode);
return;
},
};
diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs
index 8f335500..8084a753 100644
--- a/alacritty_terminal/src/tty/unix.rs
+++ b/alacritty_terminal/src/tty/unix.rs
@@ -124,7 +124,7 @@ struct ShellUser {
impl ShellUser {
/// look for shell, username, longname, and home dir in the respective environment variables
- /// before falling back on looking in to `passwd`.
+ /// before falling back on looking into `passwd`.
fn from_env() -> Result<Self> {
let mut buf = [0; 1024];
let pw = get_pw_entry(&mut buf);