aboutsummaryrefslogtreecommitdiff
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
parenta89d4f50dc6ac0256d6d52371c3711107de8c7d2 (diff)
downloadalacritty-cacdb5bb3b72bad2c729227537979d95af75978f.tar.gz
alacritty-cacdb5bb3b72bad2c729227537979d95af75978f.zip
Fix spelling errors
-rw-r--r--CHANGELOG.md12
-rw-r--r--CONTRIBUTING.md2
-rw-r--r--alacritty/src/config/ui_config.rs2
-rw-r--r--alacritty/src/event.rs4
-rw-r--r--alacritty/src/input/keyboard.rs2
-rw-r--r--alacritty_terminal/src/term/mod.rs2
-rw-r--r--alacritty_terminal/src/tty/unix.rs2
-rw-r--r--docs/features.md4
-rwxr-xr-xscripts/create-flamegraph.sh2
9 files changed, 16 insertions, 16 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0c49c81d..3d1bd0c8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,7 +25,7 @@ Notable changes to the `alacritty_terminal` crate are documented in its
- While terminal in mouse mode, mouse bindings that used the shift modifier and
had multiple actions only performed the first action
- Leaking FDs when closing windows on Unix systems
-- Config emitting errors for non-existent import paths
+- Config emitting errors for nonexistent import paths
- Kitty keyboard protocol reporting shifted key codes
## 0.13.2
@@ -318,7 +318,7 @@ Notable changes to the `alacritty_terminal` crate are documented in its
- Terminal not exiting sometimes after closing all windows on macOS
- CPU usage spikes due to mouse movements for unfocused windows on X11/Windows
- First window on macOS not tabbed with system prefer tabs setting
-- Window being treaten as focused by default on Wayland
+- Window being treated as focused by default on Wayland
### Removed
@@ -342,7 +342,7 @@ Notable changes to the `alacritty_terminal` crate are documented in its
- OSC 104 not clearing colors when second parameter is empty
- Builtin font lines not contiguous when `font.offset` is used
- `font.glyph_offset` is no longer applied on builtin font
-- Buili-in font arcs alignment
+- Built-in font arcs alignment
- Repeated permission prompts on M1 macs
- Colors being slightly off when using `colors.transparent_background_colors`
@@ -674,7 +674,7 @@ Notable changes to the `alacritty_terminal` crate are documented in its
- Reflow of cursor during resize
- Cursor color escape ignored when its color is set to inverted in the config
- Fontconfig's `autohint` and `hinting` options being ignored
-- Ingoring of default FreeType properties
+- Ignoring of default FreeType properties
- Alacritty crashing at startup when the configured font does not exist
- Font size rounding error
- Opening URLs while search is active
@@ -882,7 +882,7 @@ Notable changes to the `alacritty_terminal` crate are documented in its
- Block URL highlight while a selection is active
- Bindings for Alt + F1-F12
- Discard scrolling region escape with bottom above top
-- Opacity always applying to cells with their background color matching the teriminal background
+- Opacity always applying to cells with their background color matching the terminal background
- Allow semicolons when setting titles using an OSC
- Background always opaque on X11
- Skipping redraws on PTY update
@@ -952,7 +952,7 @@ Notable changes to the `alacritty_terminal` crate are documented in its
### Fixed
-- Double-width characters in URLs only being highlit on the left half
+- Double-width characters in URLs only being highlighted on the left half
- PTY size not getting updated when message bar is shown
- Text Cursor disappearing
- Incorrect positioning of zero-width characters over double-width characters
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index fe7b2a71..52674cc4 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -34,7 +34,7 @@ introduced the regression helps out a lot.
## Patches / Pull Requests
-All patches have to be sent on Github as [pull requests](https://github.com/alacritty/alacritty/pulls).
+All patches have to be sent on GitHub as [pull requests](https://github.com/alacritty/alacritty/pulls).
If you are looking for a place to start contributing to Alacritty, take a look at the
[help wanted](https://github.com/alacritty/alacritty/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)
diff --git a/alacritty/src/config/ui_config.rs b/alacritty/src/config/ui_config.rs
index 580a3dad..a40dcaf8 100644
--- a/alacritty/src/config/ui_config.rs
+++ b/alacritty/src/config/ui_config.rs
@@ -499,7 +499,7 @@ impl<'de> Deserialize<'de> for HintContent {
// Require at least one of hyperlinks or regex trigger hint matches.
if content.regex.is_none() && !content.hyperlinks {
return Err(M::Error::custom(
- "Config error: At least on of the hint's regex or hint's hyperlinks must \
+ "Config error: At least one of the hint's regex or hint's hyperlinks must \
be set",
));
}
diff --git a/alacritty/src/event.rs b/alacritty/src/event.rs
index 9505e1a3..b9bf3030 100644
--- a/alacritty/src/event.rs
+++ b/alacritty/src/event.rs
@@ -142,7 +142,7 @@ impl Processor {
) -> Result<(), Box<dyn Error>> {
let window = self.windows.iter().next().as_ref().unwrap().1;
- // Overide config with CLI/IPC options.
+ // Override config with CLI/IPC options.
let mut config_overrides = options.config_overrides();
#[cfg(unix)]
config_overrides.extend_from_slice(&self.global_ipc_options);
@@ -1439,7 +1439,7 @@ impl<'a, N: Notify + 'a, T: EventListener> ActionContext<'a, N, T> {
self.scheduler.unschedule(TimerId::new(Topic::BlinkCursor, window_id));
self.scheduler.unschedule(TimerId::new(Topic::BlinkTimeout, window_id));
- // Reset blinkinig timeout.
+ // Reset blinking timeout.
*self.cursor_blink_timed_out = false;
if blinking && self.terminal.is_focused {
diff --git a/alacritty/src/input/keyboard.rs b/alacritty/src/input/keyboard.rs
index fce5efbf..d63da9f2 100644
--- a/alacritty/src/input/keyboard.rs
+++ b/alacritty/src/input/keyboard.rs
@@ -230,7 +230,7 @@ impl<T: EventListener, A: ActionContext<T>> Processor<T, A> {
_ if mode.contains(TermMode::REPORT_ALL_KEYS_AS_ESC) => {
build_sequence(key, mods, mode).into()
},
- // Winit uses different keys for `Backspace` so we expliictly specify the
+ // Winit uses different keys for `Backspace` so we explicitly specify the
// values, instead of using what was passed to us from it.
Key::Named(NamedKey::Tab) => [b'\t'].as_slice().into(),
Key::Named(NamedKey::Enter) => [b'\r'].as_slice().into(),
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);
diff --git a/docs/features.md b/docs/features.md
index 29ff7ee8..43a29309 100644
--- a/docs/features.md
+++ b/docs/features.md
@@ -30,8 +30,8 @@ active.
## Search
Search allows you to find anything in Alacritty's scrollback buffer. You can
-search forward using <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>f</kbd> (<kbd>Command</kbd> <kbd>f</kbd> on MacOS) and
-backward using <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>b</kbd> (<kbd>Command</kbd> <kbd>b</kbd> on MacOS).
+search forward using <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>f</kbd> (<kbd>Command</kbd> <kbd>f</kbd> on macOS) and
+backward using <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>b</kbd> (<kbd>Command</kbd> <kbd>b</kbd> on macOS).
### Vi Search
diff --git a/scripts/create-flamegraph.sh b/scripts/create-flamegraph.sh
index 921cee8a..ddfee813 100755
--- a/scripts/create-flamegraph.sh
+++ b/scripts/create-flamegraph.sh
@@ -21,7 +21,7 @@ fi
# Create flamegraph
cargo flamegraph --bin=alacritty -- $@
-# Unintall cargo-flamegraph if it has been installed with this script
+# Uninstall cargo-flamegraph if it has been installed with this script
if [ $installed_flamegraph == 1 ]; then
read -p "Would you like to uninstall cargo-flamegraph? [Y/n] " -n 1 -r
echo