aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moiman@posteo.net>2023-03-28 21:31:49 +0000
committerHarri Nieminen <moiman@posteo.net>2023-03-28 21:45:18 +0000
commitae26915916731813edc2aefeb18a5754e8c79cd4 (patch)
tree07039d49e8f55e1658b01903b1a6e0dd816d6739
parentrender: fix glitchy selection while resizing the ‘normal’ screen (diff)
fix typos
-rw-r--r--INSTALL.md2
-rw-r--r--csi.c2
-rw-r--r--doc/foot.ini.5.scd2
-rw-r--r--grid.c2
-rw-r--r--tests/test-config.c10
-rw-r--r--themes/onedark2
6 files changed, 10 insertions, 10 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 4c15b7b4..6cc51750 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -440,7 +440,7 @@ sed 's/@default_terminfo@/foot/g' foot.info | \
Where _”output-directory”_ **must** match the value passed to
`-Dcustom-terminfo-install-location` in the foot build. If
`-Dcustom-terminfo-install-location` has not been set, `-o
-<output-directoty>` can simply be omitted.
+<output-directory>` can simply be omitted.
Or, if packaging:
diff --git a/csi.c b/csi.c
index e77ae971..cef48d43 100644
--- a/csi.c
+++ b/csi.c
@@ -1518,7 +1518,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
break; /* final == 'm' */
case 'n': {
- int resource = vt_param_get(term, 0, 2); /* Default is modifyFuncionKeys */
+ int resource = vt_param_get(term, 0, 2); /* Default is modifyFunctionKeys */
switch (resource) {
case 0: /* modifyKeyboard */
case 1: /* modifyCursorKeys */
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 1fbca27a..5ef62045 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -960,7 +960,7 @@ Be careful; do not use single-letter keys that are also used in
original text.
But with e.g. OSC-8 URLs (the terminal version of HTML anchors,
- i.e. "links"), the text on the screen can be something completey
+ i.e. "links"), the text on the screen can be something completely
different than the URL.
This action toggles between showing and hiding the URL on the jump
diff --git a/grid.c b/grid.c
index 7b86e2c1..e1c4d28b 100644
--- a/grid.c
+++ b/grid.c
@@ -793,7 +793,7 @@ grid_resize_and_reflow(
/*
* Set end-coordinate for this chunk, by finding the next
- * point-of-interrest on this row.
+ * point-of-interest on this row.
*
* If there are no more tracking points, or URI ranges,
* the end-coordinate will be at the end of the row,
diff --git a/tests/test-config.c b/tests/test-config.c
index 4f8b0c3b..6b44e9c2 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -895,7 +895,7 @@ enum collision_test_mode {
FAIL_DIFFERENT_ACTION,
FAIL_DIFFERENT_ARGV,
FAIL_MOUSE_OVERRIDE,
- SUCCED_SAME_ACTION_AND_ARGV,
+ SUCCEED_SAME_ACTION_AND_ARGV,
};
static void
@@ -949,7 +949,7 @@ _test_binding_collisions(struct context *ctx,
break;
case FAIL_DIFFERENT_ARGV:
- case SUCCED_SAME_ACTION_AND_ARGV:
+ case SUCCEED_SAME_ACTION_AND_ARGV:
bindings.arr[0].aux.type = BINDING_AUX_PIPE;
bindings.arr[0].aux.master_copy = true;
bindings.arr[0].aux.pipe.args = xcalloc(
@@ -965,13 +965,13 @@ _test_binding_collisions(struct context *ctx,
bindings.arr[1].aux.pipe.args[0] = xstrdup("/usr/bin/foobar");
bindings.arr[1].aux.pipe.args[1] = xstrdup("hello");
- if (test_mode == SUCCED_SAME_ACTION_AND_ARGV)
+ if (test_mode == SUCCEED_SAME_ACTION_AND_ARGV)
bindings.arr[1].aux.pipe.args[2] = xstrdup("world");
break;
}
bool expected_result =
- test_mode == SUCCED_SAME_ACTION_AND_ARGV ? true : false;
+ test_mode == SUCCEED_SAME_ACTION_AND_ARGV ? true : false;
if (resolve_key_binding_collisions(
ctx->conf, ctx->section, map, &bindings, type) != expected_result)
@@ -1004,7 +1004,7 @@ test_binding_collisions(struct context *ctx,
{
_test_binding_collisions(ctx, max_action, map, type, FAIL_DIFFERENT_ACTION);
_test_binding_collisions(ctx, max_action, map, type, FAIL_DIFFERENT_ARGV);
- _test_binding_collisions(ctx, max_action, map, type, SUCCED_SAME_ACTION_AND_ARGV);
+ _test_binding_collisions(ctx, max_action, map, type, SUCCEED_SAME_ACTION_AND_ARGV);
if (type == MOUSE_BINDING) {
_test_binding_collisions(
diff --git a/themes/onedark b/themes/onedark
index d7f78a66..ac5cc834 100644
--- a/themes/onedark
+++ b/themes/onedark
@@ -1,5 +1,5 @@
# OneDark
-# Pallete based on the same theme from https://github.com/dexpota/kitty-themes
+# Palette based on the same theme from https://github.com/dexpota/kitty-themes
[cursor]
color=111111 cccccc