Fix 'the the' typos across doc & code files (#7769)

* docs: fix duplicate-word typos across doc files
* code: fix duplicate 'the the' typos across code files

Co-authored-by: Benoit de Chezelles <benoit.dechezelles@gmail.com>
This commit is contained in:
Tautik AgrahariandBenoit de Chezelles authored and GitHub committed 2026-06-04 14:09:39 +02:00
1 parent 760ed023e4
commit 297637504a
15 files changed
+15 -16

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcomm
complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from send-text" -s h -l help -d 'Print help'
complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -l pane-id -d 'Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -l start-line -d 'The starting line number. 0 is the first line of terminal screen. Negative numbers proceed backwards into the scrollback. The default value is unspecified is 0, the first line of the terminal screen' -r
complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -l end-line -d 'The ending line number. 0 is the first line of terminal screen. Negative numbers proceed backwards into the scrollback. The default value if unspecified is the bottom of the the terminal screen' -r
complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -l end-line -d 'The ending line number. 0 is the first line of terminal screen. Negative numbers proceed backwards into the scrollback. The default value if unspecified is the bottom of the terminal screen' -r
complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -l escapes -d 'Include escape sequences that color and style the text. If omitted, unattributed text will be returned'
complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from get-text" -s h -l help -d 'Print help'
complete -c wezterm -n "__fish_seen_subcommand_from cli; and __fish_seen_subcommand_from activate-pane-direction" -l pane-id -d 'Specify the current pane. The default is to use the current pane based on the environment variable WEZTERM_PANE' -r
+1 -1
View File
@@ -217,7 +217,7 @@ _arguments "${_arguments_options[@]}" \
_arguments "${_arguments_options[@]}" \
'--pane-id=[Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE]:PANE_ID: ' \
'--start-line=[The starting line number. 0 is the first line of terminal screen. Negative numbers proceed backwards into the scrollback. The default value is unspecified is 0, the first line of the terminal screen]:START_LINE: ' \
'--end-line=[The ending line number. 0 is the first line of terminal screen. Negative numbers proceed backwards into the scrollback. The default value if unspecified is the bottom of the the terminal screen]:END_LINE: ' \
'--end-line=[The ending line number. 0 is the first line of terminal screen. Negative numbers proceed backwards into the scrollback. The default value if unspecified is the bottom of the terminal screen]:END_LINE: ' \
'--escapes[Include escape sequences that color and style the text. If omitted, unattributed text will be returned]' \
'-h[Print help]' \
'--help[Print help]' \
+1 -1
View File
@@ -66,7 +66,7 @@ return {}
{{since('20220319-142410-0fcdea07')}}
The `has_unseen_output` field returns true if the there has been output
The `has_unseen_output` field returns true if there has been output
in the pane since the last time it was focused.
This example shows how to use this event to change the color of the
@@ -7,7 +7,7 @@ tags:
{{since('nightly')}}
Setting this value will cause wezterm to replace the the value of the
Setting this value will cause wezterm to replace the value of the
`SSH_AUTH_SOCK` environment when it first starts up, and to use this value for
the auth socket registered with the multiplexer server (visible via `wezterm
cli list-clients`).
@@ -11,7 +11,7 @@ when the release was prepared so this function is primarily useful if you want
to import a base16 color scheme that either isn't listed from the main list, or
that was created after your version of wezterm was built.
This function returns a tuple of the the color definitions and the metadata.
This function returns a tuple of the color definitions and the metadata.
For example, given a yaml file with these contents:
+1 -1
View File
@@ -3,7 +3,7 @@
{{since('20220807-113146-c2fee766')}}
Loads a wezterm color scheme from a TOML file. This function
returns a tuple of the the color definitions and the metadata:
returns a tuple of the color definitions and the metadata:
```
> colors, metadata = wezterm.color.load_scheme("wezterm/assets/colors/Abernathy.toml")
@@ -9,7 +9,7 @@ Note that wezterm ships with all of the pre-defined terminal.sexy color
schemes, so this function is primarily useful if you want to design a color
scheme using terminal.sexy and then import it to wezterm.
This function returns a tuple of the the color definitions and the metadata.
This function returns a tuple of the color definitions and the metadata.
For example, given a json file with these contents:
@@ -13,7 +13,7 @@ Options:
--end-line <END_LINE>
The ending line number. 0 is the first line of terminal screen.
Negative numbers proceed backwards into the scrollback. The default
value if unspecified is the bottom of the the terminal screen
value if unspecified is the bottom of the terminal screen
--escapes
Include escape sequences that color and style the text. If omitted,
unattributed text will be returned
+1 -1
View File
@@ -146,7 +146,7 @@ Alt/Option](config/keys.md), as well as options that influence that behavior.
The next thing to verify is what byte sequences are being produced when you
press keys. I generally suggest running `xxd`, pressing the relevant key, then
enter, then CTRL-D. This should show a hex dump of the the byte sequence.
enter, then CTRL-D. This should show a hex dump of the byte sequence.
This step helps to isolate the input from input processing layers in other
applications.
+1 -1
View File
@@ -535,7 +535,7 @@ impl Tab {
/// Called by the multiplexer client when building a local tab to
/// mirror a remote tab. The supplied `root` is the information
/// about our counterpart in the the remote server.
/// about our counterpart in the remote server.
/// This method builds a local tree based on the remote tree which
/// then replaces the local tree structure.
///
+1 -1
View File
@@ -27,7 +27,7 @@ pub enum ArgType {
/// A helper function used to synthesize key binding permutations.
/// If the input is a character on a US ANSI keyboard layout, returns
/// the the typical character that is produced when holding down
/// the typical character that is produced when holding down
/// the shift key and pressing the original key.
/// This doesn't produce an exhaustive list because there are only
/// a handful of default assignments in the command DEFS below.
+1 -2
View File
@@ -544,8 +544,7 @@ impl crate::TermWindow {
let fg_color = self.ensure_min_contrast(fg_color, bg_color);
// interpolate between the background color
// and the the target color
// interpolate between the background color and the target color
let bg_color_alt = params
.config
.resolved_palette
+1 -1
View File
@@ -194,7 +194,7 @@ impl crate::TermWindow {
LinearRgba::with_components(r, g, b, intensity)
} else {
// otherwise We'll interpolate between the background color
// and the the target color
// and the target color
let (r1, g1, b1, a) = palette
.background
.to_linear()
+1 -1
View File
@@ -8,7 +8,7 @@ use std::borrow::Cow;
/// The builder works a bit more dynamically by accumulating references to
/// the names and values.
/// When binding structs to the shader, the name strings are dynamically
/// allocated because glsl expects to bind the the `bar` field of struct `foo`
/// allocated because glsl expects to bind the `bar` field of struct `foo`
/// using a name like "foo.bar".
/// A companion trait `UniformStruct` is used to aid in defining structs
/// that can be passed as uniforms.
+1 -1
View File
@@ -1854,7 +1854,7 @@ impl XWindowInner {
// https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html#idm44927025355360
// says that this is an array of 32bit ARGB data.
// The first two elements are width, height, with the remainder
// being the the row data, left-to-right, top-to-bottom.
// being the row data, left-to-right, top-to-bottom.
let mut icon_data = Vec::with_capacity((2 + (width * height)) * 4);
icon_data.push(width as u32);
icon_data.push(height as u32);