diff --git a/assets/shell-completion/fish b/assets/shell-completion/fish index 552a047c3..7835b8108 100644 --- a/assets/shell-completion/fish +++ b/assets/shell-completion/fish @@ -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 diff --git a/assets/shell-completion/zsh b/assets/shell-completion/zsh index b74727009..00237c762 100644 --- a/assets/shell-completion/zsh +++ b/assets/shell-completion/zsh @@ -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]' \ diff --git a/docs/config/lua/PaneInformation.md b/docs/config/lua/PaneInformation.md index 785f5d3b0..f8faaf6d0 100644 --- a/docs/config/lua/PaneInformation.md +++ b/docs/config/lua/PaneInformation.md @@ -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 diff --git a/docs/config/lua/config/default_ssh_auth_sock.md b/docs/config/lua/config/default_ssh_auth_sock.md index d03a3f657..f4f28db48 100644 --- a/docs/config/lua/config/default_ssh_auth_sock.md +++ b/docs/config/lua/config/default_ssh_auth_sock.md @@ -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`). diff --git a/docs/config/lua/wezterm.color/load_base16_scheme.md b/docs/config/lua/wezterm.color/load_base16_scheme.md index d75347fed..6c8565bce 100644 --- a/docs/config/lua/wezterm.color/load_base16_scheme.md +++ b/docs/config/lua/wezterm.color/load_base16_scheme.md @@ -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: diff --git a/docs/config/lua/wezterm.color/load_scheme.md b/docs/config/lua/wezterm.color/load_scheme.md index 99033ff06..eb2a87626 100644 --- a/docs/config/lua/wezterm.color/load_scheme.md +++ b/docs/config/lua/wezterm.color/load_scheme.md @@ -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") diff --git a/docs/config/lua/wezterm.color/load_terminal_sexy_scheme.md b/docs/config/lua/wezterm.color/load_terminal_sexy_scheme.md index 5bdd961ca..f8caaed1f 100644 --- a/docs/config/lua/wezterm.color/load_terminal_sexy_scheme.md +++ b/docs/config/lua/wezterm.color/load_terminal_sexy_scheme.md @@ -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: diff --git a/docs/examples/cmd-synopsis-wezterm-cli-get-text--help.txt b/docs/examples/cmd-synopsis-wezterm-cli-get-text--help.txt index a57e56f55..9da93991c 100644 --- a/docs/examples/cmd-synopsis-wezterm-cli-get-text--help.txt +++ b/docs/examples/cmd-synopsis-wezterm-cli-get-text--help.txt @@ -13,7 +13,7 @@ Options: --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 diff --git a/docs/faq.md b/docs/faq.md index f226ff128..091ef9eac 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -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. diff --git a/mux/src/tab.rs b/mux/src/tab.rs index c421fb2a3..29f14bcc8 100644 --- a/mux/src/tab.rs +++ b/mux/src/tab.rs @@ -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. /// diff --git a/wezterm-gui/src/commands.rs b/wezterm-gui/src/commands.rs index 581597cd0..eeb42d619 100644 --- a/wezterm-gui/src/commands.rs +++ b/wezterm-gui/src/commands.rs @@ -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. diff --git a/wezterm-gui/src/termwindow/render/mod.rs b/wezterm-gui/src/termwindow/render/mod.rs index dccdd6328..af7225510 100644 --- a/wezterm-gui/src/termwindow/render/mod.rs +++ b/wezterm-gui/src/termwindow/render/mod.rs @@ -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 diff --git a/wezterm-gui/src/termwindow/render/pane.rs b/wezterm-gui/src/termwindow/render/pane.rs index da273cc66..4af46389d 100644 --- a/wezterm-gui/src/termwindow/render/pane.rs +++ b/wezterm-gui/src/termwindow/render/pane.rs @@ -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() diff --git a/wezterm-gui/src/uniforms.rs b/wezterm-gui/src/uniforms.rs index 2ea108e5b..c98fdadba 100644 --- a/wezterm-gui/src/uniforms.rs +++ b/wezterm-gui/src/uniforms.rs @@ -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. diff --git a/window/src/os/x11/window.rs b/window/src/os/x11/window.rs index a1b408433..adab7435b 100644 --- a/window/src/os/x11/window.rs +++ b/window/src/os/x11/window.rs @@ -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);