aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/event.rs
diff options
context:
space:
mode:
authorPavel Roskin <1317472+proski@users.noreply.github.com>2023-10-25 16:20:58 -0700
committerGitHub <noreply@github.com>2023-10-25 23:20:58 +0000
commit75eef3be9680dbe3300186b06e19eac7f9dfab4b (patch)
treee59127474f8bdaae5be26dc53d25c3c9ed86d379 /alacritty/src/event.rs
parent500b696ca8ed61c42f5954b10f1294e875d792ae (diff)
downloadr-alacritty-75eef3be9680dbe3300186b06e19eac7f9dfab4b.tar.gz
r-alacritty-75eef3be9680dbe3300186b06e19eac7f9dfab4b.tar.bz2
r-alacritty-75eef3be9680dbe3300186b06e19eac7f9dfab4b.zip
Fix typos
Diffstat (limited to 'alacritty/src/event.rs')
-rw-r--r--alacritty/src/event.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/alacritty/src/event.rs b/alacritty/src/event.rs
index 6f82be11..281bcace 100644
--- a/alacritty/src/event.rs
+++ b/alacritty/src/event.rs
@@ -815,7 +815,7 @@ impl<'a, N: Notify + 'a, T: EventListener> input::ActionContext<T> for ActionCon
//
// We remove `\x1b` to ensure it's impossible for the pasted text to write the bracketed
// paste end escape `\x1b[201~` and `\x03` since some shells incorrectly terminate
- // bracketed paste on its receival.
+ // bracketed paste when they receive it.
let filtered = text.replace(['\x1b', '\x03'], "");
self.write_to_pty(filtered.into_bytes());
@@ -1080,7 +1080,7 @@ impl<'a, N: Notify + 'a, T: EventListener> ActionContext<'a, N, T> {
self.scheduler.schedule(event, blinking_timeout_interval, false, timer_id);
}
- /// Perferm vi mode inline search in the specified direction.
+ /// Perform vi mode inline search in the specified direction.
fn inline_search(&mut self, direction: Direction) {
let c = match self.inline_search_state.character {
Some(c) => c,
@@ -1573,7 +1573,7 @@ impl Processor {
// The event loop just got initialized. Create a window.
WinitEvent::Resumed => {
// Creating window inside event loop is required for platforms like macOS to
- // properly initialize state, like tab management. Othwerwise the first
+ // properly initialize state, like tab management. Otherwise the first
// window won't handle tabs.
let initial_window_options = match initial_window_options.take() {
Some(initial_window_options) => initial_window_options,