mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
fix typos
This commit is contained in:
parent
296e75f4f5
commit
ae26915916
6 changed files with 10 additions and 10 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
2
csi.c
2
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 */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
2
grid.c
2
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,
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue