History log of /openbsd-src/usr.bin/tmux/cmd-resize-pane.c (Results 1 – 25 of 53)
Revision Date Author Comments
# 0ad0daf4 21-Mar-2024 nicm <nicm@openbsd.org>

Do not notify window-layout-changed if the window is about to be
destroyed (since it may have been freed by the time the notify happens),
from Romain Francoise in GitHub issue 3860.


# d10ca571 03-Feb-2022 nicm <nicm@openbsd.org>

Adjust size given to resize-pane for pane status line, GitHub issue
3050.


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

Rename a member to match what it will be in future.


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


# c4b5b9d7 25-May-2020 nicm <nicm@openbsd.org>

Fix some error strings, from Kris Katterjohn.


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

Drop having a separate type for style options and make them all strings,
which allows formats to be expanded. Any styles without a '#{' are still
validated when they are set but any with a '#{' are n

Drop having a separate type for style options and make them all strings,
which allows formats to be expanded. Any styles without a '#{' are still
validated when they are set but any with a '#{' are not. Formats are not
expanded usefully in many cases yet, that will be changed later.

To make this work, a few other changes:

- set-option -a with a style option automatically appends a ",".

- OSC 10 and 11 don't set the window-style option anymore, instead the
fg and bg are stored in the pane struct and act as the defaults that
can be overridden by window-style.

- status-fg and -bg now override status-style instead of trying to keep
them in sync.

show more ...


# 823b6d6d 13-Apr-2020 nicm <nicm@openbsd.org>

Move cmdq_state into cmd-queue.c.


# 054f42ac 13-Apr-2020 nicm <nicm@openbsd.org>

Rename cmdq_shared to cmdq_state which will better reflect what it is
(going to be) used for.


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

Store a key event not a mouse event in the shared data.


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


# a0a1bba7 31-Mar-2020 nicm <nicm@openbsd.org>

Add a -T flag to resize-pane to trim lines below the cursor, moving
lines out of the history. GitHub issue 2134.


# 94300b02 21-Mar-2020 nicm <nicm@openbsd.org>

Break code to convert an argument as a percentage into a common function.


# 28988ef6 15-Oct-2019 nicm <nicm@openbsd.org>

Add support for percentage sizes for resize-pane ("-x 10%"). Also change
split-window and join-pane -l to accept similar percentages and
deprecate -p. From Anindya Mukherjee.


# 3cedae0c 06-Jul-2019 nicm <nicm@openbsd.org>

Correctly adjust mouse position if the status line is at the top and
more than one line. GitHub issue 1822.


# a489e4de 03-May-2019 nicm <nicm@openbsd.org>

Do not store the mouse position we calculate as the start of a drag back
into the mouse event that later code uses, it has been adjusted and they
should use the original position. GitHub issue 1710.


# c7de2738 03-May-2019 nicm <nicm@openbsd.org>

Fix mouse positioning when the pane is not entirely visible.


# 84cde37c 18-Aug-2018 nicm <nicm@openbsd.org>

Some tidying and helper functions.


# 075e946b 24-Jun-2018 nicm <nicm@openbsd.org>

Minor cosmetic improvement from KOIE Hidetaka.


# 5002ba47 09-Jun-2018 nicm <nicm@openbsd.org>

Make it possible to resize multiple panes by dragging corners, from Dan
Aloni in GitHub issue 1376.


# 3d1607c5 08-Jun-2018 nicm <nicm@openbsd.org>

Instead of working out which pane to resize with the mouse by walking
the panes list, look through the layout cells for the nearest border and
resize that cell. From Dan Aloni in GitHub issue 1374.


# 8019ca0b 11-May-2017 nicm <nicm@openbsd.org>

Change how we resolve which pane is dragging when there are multiple
options - choose the largest pane, which is more likely to be the one the
user wants to resize. Prompted by a report from Thomas S

Change how we resolve which pane is dragging when there are multiple
options - choose the largest pane, which is more likely to be the one the
user wants to resize. Prompted by a report from Thomas Sattler.

show more ...


# bf0d297e 22-Apr-2017 nicm <nicm@openbsd.org>

Get rid of the extra layer of flags and cmd_prepare() and just store the
CMD_FIND_* flags in the cmd_entry and call it for the command. Commands
with special requirements call it themselves and updat

Get rid of the extra layer of flags and cmd_prepare() and just store the
CMD_FIND_* flags in the cmd_entry and call it for the command. Commands
with special requirements call it themselves and update the target for
hooks to use.

show more ...


# bebc73f1 21-Apr-2017 nicm <nicm@openbsd.org>

Store state shared between multiple commands in the queue in a shared
structure.


123