History log of /openbsd-src/usr.bin/tmux/window-buffer.c (Results 1 – 25 of 40)
Revision Date Author Comments
# d3278555 04-Aug-2024 nicm <nicm@openbsd.org>

Adjust the logic when deleting last buffer to better preserve the
selection: if selecting the element below the deleted one fails (because
as the last one), select the one above it instead. From Dani

Adjust the logic when deleting last buffer to better preserve the
selection: if selecting the element below the deleted one fails (because
as the last one), select the one above it instead. From Daniel Mueller,
GitHub issue 4043.

show more ...


# 00b011bc 04-Aug-2024 nicm <nicm@openbsd.org>

Use paste_is_empty to check if there are no buffers since paste_get_top
will return NULL if there are no automatic buffers.


# 2e03ad1f 21-Mar-2024 nicm <nicm@openbsd.org>

Use -p for default paste-buffer command in buffer mode, it will only do
anything if the application asked for it. From Gregory Anders.


# ee191f7a 03-Nov-2022 nicm <nicm@openbsd.org>

If there are no buffers, reset mode as soon as any key pressed. Fixes
crash reported by Gaoyang Zhang in GitHub issue 3373.


# 3e8355bd 30-May-2022 nicm <nicm@openbsd.org>

Spacing/style nits.


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

Hide struct args behind a couple of accessor functions.


# 2bd728e0 10-Jun-2021 nicm <nicm@openbsd.org>

Fix warnings, from Jan Tache in GitHub issue 2692.


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

Permit shortcut keys in buffer, client, tree modes to be configured with
a format; the default remains the line number. GitHub issue 2636.


# 734f37e4 03-Dec-2020 nicm <nicm@openbsd.org>

Redraw any visible modes when status line changes so that formats like
the pane title are updated. GitHub issue 2487. Also a man page fix from
jmc.


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

Move editor stuff to common code in popup.c.


# 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.


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

Use VIS_CSTYLE for paste buffers also.


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

Add 'e' key in buffer mode to open the buffer in an editor.


# 6c6f347c 16-May-2020 nicm <nicm@openbsd.org>

Tweak the default choose modes formats:

- Only show pane title if it is not default and not empty.
- Add a prettier time format and use that instead of long ctime().
- Remove clutter and change the

Tweak the default choose modes formats:

- Only show pane title if it is not default and not empty.
- Add a prettier time format and use that instead of long ctime().
- Remove clutter and change the order.

show more ...


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

Some unnecessary assignments and unused variables.


# f8ef6c4b 11-Feb-2020 nicm <nicm@openbsd.org>

Remove unused variables from Ben Boeckel, and a Pp from jmc.


# 8917ecad 13-Dec-2019 nicm <nicm@openbsd.org>

Show UTF-8 in choose-buffer mode. From KOIE Hidetaka.


# 0925375c 03-Dec-2019 nicm <nicm@openbsd.org>

Style nits in function arguments.


# 3f6f9f7d 16-Aug-2019 nicm <nicm@openbsd.org>

Add a flag to reverse sort in the various choose modes, from Benjamin
Poirier in GitHub issue 1875.


# 06feda64 29-May-2019 nicm <nicm@openbsd.org>

Use VIS_CSTYLE for the arguments and add the missing escapes it can
generate to the parser.


# 1335341a 28-May-2019 nicm <nicm@openbsd.org>

Change display-menu from taking a single string to a set of arguments,
which is much easier to work with. Based on a diff from Avi Halachmi.


# f43bc87c 12-May-2019 nicm <nicm@openbsd.org>

Add simple menus to tree, client, buffer modes.


# 00db7279 28-Mar-2019 nicm <nicm@openbsd.org>

Expand session and window formats for buffer filters.


# 71431f24 18-Mar-2019 nicm <nicm@openbsd.org>

Add format variables for the default formats for the various modes
(tree_mode_format and so on) and add a -a flag to display-message to
list variables with values.


# 5c6c7001 12-Mar-2019 nicm <nicm@openbsd.org>

DECRC and DECSC apparently need to preserve origin mode as well, based
on a fix from Marc Reisner.


12