History log of /openbsd-src/usr.bin/tmux/cmd-list-keys.c (Results 1 – 25 of 68)
Revision Date Author Comments
# b6124414 27-Jan-2025 nicm <nicm@openbsd.org>

Make list-commands command show only one command if an argument is
given, from Ilya Grigoriev in GitHub issue 4352.


# 1e415b51 17-Jan-2023 nicm <nicm@openbsd.org>

Support -1 without -N for list-keys.


# a51dead1 21-Aug-2021 nicm <nicm@openbsd.org>

Add args parsing callback for some future work, currently unused.


# 1693b10b 20-Aug-2021 nicm <nicm@openbsd.org>

Hide struct args behind a couple of accessor functions.


# b52f0cbf 20-Aug-2021 nicm <nicm@openbsd.org>

Remove stray spaces after function names.


# 5b2ff571 13-Apr-2021 nicm <nicm@openbsd.org>

Include modifiers when looking up an individual key.


# e7e79d0a 12-Apr-2021 nicm <nicm@openbsd.org>

Add a flag to disable keys to close a message, GitHub issue 2625.


# 247fdabf 27-Jul-2020 nicm <nicm@openbsd.org>

Add a -d option to display-message to set delay, from theonekeyg at
gmail dot com in GitHub issue 2322.


# 7dbc9071 06-Jul-2020 nicm <nicm@openbsd.org>

Always send xterm-style keys for M-Left and M-Right. GitHub issue 2296.


# 5416581e 16-May-2020 nicm <nicm@openbsd.org>

Separate key flags and modifiers, log key flags, make the "xterm" flag
more explicit and fix M- keys with a leading escape.


# 67c16a7c 16-May-2020 nicm <nicm@openbsd.org>

Add a customize mode where keys and options may be browsed and changed,
includes adding a brief description of each option. Bound to "C" by
default.


# 4f4307f9 16-May-2020 nicm <nicm@openbsd.org>

Support embedded styles in the display-message message, GitHub issue
2206.


# 035dc73d 13-Apr-2020 nicm <nicm@openbsd.org>

Make client -c and -t handling common in cmd-queue.c and try to be
clearer about whether the client is the target client (must have a
session) or not.


# 040343ae 13-Apr-2020 nicm <nicm@openbsd.org>

Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make its
use more clearly defined and preparation for some future work).


# 90d7ba38 13-Apr-2020 nicm <nicm@openbsd.org>

Make struct cmd local to cmd.c and move it out of tmux.h.


# 7d64d0d8 09-Apr-2020 nicm <nicm@openbsd.org>

A couple of other redundant checks/assignments.


# 2ecd3685 05-Apr-2020 nicm <nicm@openbsd.org>

Add an argument to list-commands to show only a single command.


# 2f3e7a82 15-Feb-2020 nicm <nicm@openbsd.org>

Add -a to list-keys to also list keys without notes with -N, suggested
by Shehu Dikko.


# c8877404 27-Jan-2020 nicm <nicm@openbsd.org>

Add support for adding a note to a key binding (with bind-key -N) and
use this to add descriptions to the default key bindings. A new -N flag
to list-keys shows key bindings with notes rather than th

Add support for adding a note to a key binding (with bind-key -N) and
use this to add descriptions to the default key bindings. A new -N flag
to list-keys shows key bindings with notes rather than the default
bind-key command used to create them. Change the default ? binding to
use this to show a readable summary of keys.

Also extend command-prompt to return the name of the key pressed and add
a default binding (/) to show the note for the next key pressed

Suggested by Alex Tremblay in GitHub issue 2000.

show more ...


# f382be73 14-Oct-2019 nicm <nicm@openbsd.org>

Some old tmux versions can sometimes generate layout strings which have
the incorrect size for the top cell. Previously tmux didn't care but now
that panes can be partly hidden, the size matters and

Some old tmux versions can sometimes generate layout strings which have
the incorrect size for the top cell. Previously tmux didn't care but now
that panes can be partly hidden, the size matters and is checked more
strictly. So add some code to fix up the most common problem and a
sanity check to reject layouts with any other size problems. Reported by
Aleksandrs Ledovskis in GitHub issue 1930.

show more ...


# 7da19389 03-Oct-2019 nicm <nicm@openbsd.org>

Use a malloc'd buffer for lsk since commands can be very long, from Gregory Pakosz.


# 4512d27d 03-Oct-2019 nicm <nicm@openbsd.org>

Do not lazily use BUFSIZ for "I don't care what size" when building
strings because it is only guaranteed to be 256 bytes and even the
default 1024 is not always enough. Reported by Gregory Pakosz.


# 5c131106 23-May-2019 nicm <nicm@openbsd.org>

Break the argument escaping code into a separate function and use it to
escape key bindings in list-keys. Also escape ~ and ; and $ properly.


# 4e325abe 02-Aug-2018 nicm <nicm@openbsd.org>

Make key trees and some other bits static.


# d559dd45 01-May-2017 nicm <nicm@openbsd.org>

In order that people can use formats like #D in #() in the status line
and not have to wait for an update when they change pane, we allow
commands to run more than once a second if the expanded form

In order that people can use formats like #D in #() in the status line
and not have to wait for an update when they change pane, we allow
commands to run more than once a second if the expanded form
changes. Unfortunately this can mean them being run far too often
(pretty much continually) when multiple clients exist, because some
formats (including #D) will always differ between clients.

To avoid this, give each client its own tree of jobs which means that
the same command will be different instances for each client - similar
to how we have the tag to separate commands for different panes.

GitHub issue 889; test case reported by Paul Johnson.

show more ...


123