chore: remove repetitive words

Signed-off-by: goodactive <goodactive@qq.com>
This commit is contained in:
goodactive 2024-04-19 18:29:06 +08:00
parent 7f61f1f9f3
commit 6ae24a8c8d
5 changed files with 5 additions and 5 deletions

View file

@ -1270,7 +1270,7 @@ Detailed list of changes
- macOS: Fix keyboard input not working after toggling fullscreen till the
window is clicked in
- A new mappable action ``nth_os_window`` to to focus the specified nth OS
- A new mappable action ``nth_os_window`` to focus the specified nth OS
window. (:pull:`4316`)
- macOS: The kitty window can be scrolled by the mouse wheel when OS window not

View file

@ -126,7 +126,7 @@ receiving::
...
The client must then wait for responses from the terminal emulator. It
is an error to send anymore commands to to the terminal until an ``OK``
is an error to send anymore commands to the terminal until an ``OK``
response is received from the terminal. The terminal wait for the user to accept
the request. If accepted, it sends::

View file

@ -921,7 +921,7 @@ detect_spacer_strategy(hb_font_t *hbf, Font *font) {
}
}
// If spacer_strategy is still default, check ### glyph to to confirm strategy
// If spacer_strategy is still default, check ### glyph to confirm strategy
// https://github.com/kovidgoyal/kitty/issues/4721
if (font->spacer_strategy == SPACERS_BEFORE) {
cpu_cells[0].ch = '#'; cpu_cells[1].ch = '#'; cpu_cells[2].ch = '#';

View file

@ -899,7 +899,7 @@ as_text_generic(PyObject *args, void *container, get_line_func get_line, index_t
// Boilerplate {{{
static PyObject*
copy_char(Line* self, PyObject *args);
#define copy_char_doc "copy_char(src, to, dest) -> Copy the character at src to to the character dest in the line `to`"
#define copy_char_doc "copy_char(src, to, dest) -> Copy the character at src to the character dest in the line `to`"
#define hyperlink_ids_doc "hyperlink_ids() -> Tuple of hyper link ids at every cell"
static PyObject*

View file

@ -60,7 +60,7 @@ if [[ -n "$KITTY_BASH_INJECT" ]]; then
else
if [[ "$kitty_bash_inject" != *"no-rc"* ]]; then
# Linux distros build bash with -DSYS_BASHRC. Unfortunately, there is
# no way to to probe bash for it and different distros use different files
# no way to probe bash for it and different distros use different files
# Arch, Debian, Ubuntu use /etc/bash.bashrc
# Fedora uses /etc/bashrc sourced from ~/.bashrc instead of SYS_BASHRC
# Void Linux uses /etc/bash/bashrc