diff --git a/README.md b/README.md index 3844b95a..41c6854a 100644 --- a/README.md +++ b/README.md @@ -325,7 +325,7 @@ The tertiary DA response is always `\EP!|464f4f54\E\\`. The `\EP!|` is the standard tertiary DA response prefix, `DCS ! |`. The trailing `\E\\` is of course the standard string terminator, `ST`. -In the response above, the interresting part is `464f4f54`; this is +In the response above, the interesting part is `464f4f54`; this is the string _FOOT_ in hex. The secondary DA response is `\E[>1;XXYYZZ;0c`, where XXYYZZ is foot's diff --git a/commands.c b/commands.c index e199e4f4..398f04e7 100644 --- a/commands.c +++ b/commands.c @@ -37,7 +37,7 @@ cmd_scrollback_up(struct terminal *term, int rows) /* * This happens when scrolling up in a newly opened terminal; * every single line (except those already visible) are - * uninitalized, and the loop above will bring us back to + * uninitialized, and the loop above will bring us back to * where we started. */ return; diff --git a/csi.c b/csi.c index 541be13e..21a94625 100644 --- a/csi.c +++ b/csi.c @@ -334,7 +334,7 @@ csi_dispatch(struct terminal *term, uint8_t final) /* * Note: we never reset 'last-printed'. According to * ECMA-48, the behaviour is undefined if REP was - * _not_ preceeded by a graphical character. + * _not_ preceded by a graphical character. */ int count = vt_param_get(term, 0, 1); LOG_DBG("REP: '%lc' %d times", (wint_t)term->vt.last_printed, count); @@ -377,7 +377,7 @@ csi_dispatch(struct terminal *term, uint8_t final) * - 29 ANSI text locator (i.e., DEC Locator mode). * * Note: we report ourselves as a VT220, mainly to be able - * to pass parameters, to indiciate we support sixel, and + * to pass parameters, to indicate we support sixel, and * ANSI colors. * * The VT level must be synchronized with the secondary DA @@ -1416,7 +1416,7 @@ csi_dispatch(struct terminal *term, uint8_t final) * determine level of support. * * We report ourselves as a VT220. This must be - * synchronized with the primary DA respons. + * synchronized with the primary DA response. * * Note: tertiary DA replies with "FOOT". */ diff --git a/doc/benchmark.md b/doc/benchmark.md index 8d4bb1fe..9d1403f5 100644 --- a/doc/benchmark.md +++ b/doc/benchmark.md @@ -58,7 +58,7 @@ CPU: i5-8250U RAM: 8GB -Graphics: Intel UHD Graphcis 620 +Graphics: Intel UHD Graphics 620 ### Terminal configuration diff --git a/input.c b/input.c index 3cd6830d..30265cdd 100644 --- a/input.c +++ b/input.c @@ -733,7 +733,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, xkb_keysym_t sym = xkb_state_key_get_one_sym(seat->kbd.xkb_state, key); if (state == XKB_KEY_DOWN && term->conf->mouse.hide_when_typing && - /* TODO: better way to detect modifers */ + /* TODO: better way to detect modifiers */ sym != XKB_KEY_Shift_L && sym != XKB_KEY_Shift_R && sym != XKB_KEY_Control_L && sym != XKB_KEY_Control_R && sym != XKB_KEY_Alt_L && sym != XKB_KEY_Alt_R && @@ -959,7 +959,7 @@ keyboard_modifiers(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, xkb_state_update_mask( seat->kbd.xkb_state, mods_depressed, mods_latched, mods_locked, 0, 0, group); - /* Update state of modifiers we're interrested in for e.g mouse events */ + /* Update state of modifiers we're interested in for e.g mouse events */ seat->kbd.shift = xkb_state_mod_index_is_active( seat->kbd.xkb_state, seat->kbd.mod_shift, XKB_STATE_MODS_DEPRESSED); seat->kbd.alt = xkb_state_mod_index_is_active( diff --git a/osc.c b/osc.c index b79dcdc4..75888067 100644 --- a/osc.c +++ b/osc.c @@ -512,7 +512,7 @@ osc_dispatch(struct terminal *term) * Update color of already rendered cells. * * Note that we do *not* store the original palette - * index. Therefor, the best we can do is compare + * index. Therefore, the best we can do is compare * colors - if they match, assume "our" palette index * was the one used to render the cell. * diff --git a/reaper.c b/reaper.c index adc89e3c..04a444f1 100644 --- a/reaper.c +++ b/reaper.c @@ -119,7 +119,7 @@ fdm_reap(struct fdm *fdm, int fd, int events, void *data) } tll_foreach(reaper->children, it) { - /* Don't use wait() since we don't want to accidentaly reap + /* Don't use wait() since we don't want to accidentally reap * the PTS slave */ pid_t pid = it->item; diff --git a/render.c b/render.c index e0d3c2e0..12003468 100644 --- a/render.c +++ b/render.c @@ -610,7 +610,7 @@ grid_render_scroll(struct terminal *term, struct buffer *buf, * So, we need to figure out when to SHM scroll, and when to * memmove. * - * For now, assume that the both methods perform rougly the same, + * For now, assume that the both methods perform roughly the same, * given an equal number of bytes to move/allocate, and use the * method that results in the least amount of bytes to touch. * diff --git a/terminal.h b/terminal.h index 2f2d8881..983c80a0 100644 --- a/terminal.h +++ b/terminal.h @@ -421,7 +421,7 @@ struct terminal { bool autosize; } image; - unsigned params[5]; /* Collected parmaeters, for RASTER, COLOR_SPEC */ + unsigned params[5]; /* Collected parameters, for RASTER, COLOR_SPEC */ unsigned param; /* Currently collecting parameter, for RASTER, COLOR_SPEC and REPEAT */ unsigned param_idx; /* Parameters seen */