#
afeb706a |
| 12-Nov-2024 |
nicm <nicm@openbsd.org> |
Mouse support on the scrollbars, from Michael Grant.
|
#
38deddc0 |
| 26-Aug-2024 |
nicm <nicm@openbsd.org> |
Add copy-mode -d flag to scroll a page down if in copy mode already, from Michael Grant.
|
#
a51dead1 |
| 21-Aug-2021 |
nicm <nicm@openbsd.org> |
Add args parsing callback for some future work, currently unused.
|
#
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.
|
#
cdfe74ad |
| 10-Apr-2020 |
nicm <nicm@openbsd.org> |
Now that copy mode copies the pane content rather than keeping a reference to it, it isn't necessary that the pane in copy mode is the same as the one copying from. Add a -s flag to copy-mode to spec
Now that copy mode copies the pane content rather than keeping a reference to it, it isn't necessary that the pane in copy mode is the same as the one copying from. Add a -s flag to copy-mode to specify a different pane for the source content. This means it is possible to view two places in a pane's history at the same time in different panes, or copy from a pane's history into an editor or shell in the same pane.
From Anindya Mukherjee.
show more ...
|
#
37821860 |
| 20-Mar-2020 |
nicm <nicm@openbsd.org> |
Make the mouse_word and mouse_line formats work in copy mode and enable the default pane menu in copy mode.
|
#
e51b191a |
| 12-Mar-2020 |
nicm <nicm@openbsd.org> |
Add a copy-mode -H flag to hide the position marker in the top right.
|
#
7df29c9d |
| 07-May-2019 |
nicm <nicm@openbsd.org> |
Treat keys in identify mode (display-panes) specially and handle them immediately rather than queuing them (the command can block the queue which means they were not being seen until it finished whic
Treat keys in identify mode (display-panes) specially and handle them immediately rather than queuing them (the command can block the queue which means they were not being seen until it finished which was too late). Reported by denis@ and solene@, ok solene@.
show more ...
|
#
2c8678f7 |
| 12-Mar-2019 |
nicm <nicm@openbsd.org> |
Allow multiple modes to be open in a pane. A stack of open modes is kept and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is
Allow multiple modes to be open in a pane. A stack of open modes is kept and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is moved to the top as the active mode rather than being opened new.
show more ...
|
#
adfef3cc |
| 08-Mar-2019 |
nicm <nicm@openbsd.org> |
Make the mode used to view command output (a variant of copy mode) use its own mode definition struct with a different init function rather than calling special setup functions.
|
#
30a94f45 |
| 07-Mar-2019 |
nicm <nicm@openbsd.org> |
Add a separate mode struct for the active window mode if any.
|
#
a42faf7d |
| 30-May-2017 |
nicm <nicm@openbsd.org> |
Rewrite of choose mode, both to simplify and tidy the code and to add some modern features.
Now the common code is in mode-tree.c, which provides an API used by the three modes now separated into wi
Rewrite of choose mode, both to simplify and tidy the code and to add some modern features.
Now the common code is in mode-tree.c, which provides an API used by the three modes now separated into window-{buffer,client,tree}.c. Buffer mode shows buffers, client mode clients and tree mode a tree of sessions, windows and panes.
Each mode has a common set of key bindings plus a few that are specific to the mode. Other changes are:
- each mode has a preview pane: for buffers this is the buffer content (very useful), for others it is a preview of the pane;
- items may be sorted in different ways ('O' key);
- multiple items may be tagged and an operation applied to all of them (for example, to delete multiple buffers at once);
- in tree mode a command may be run on the selected item (session, window, pane) or on tagged items (key ':');
- displayed items may be filtered in tree mode by using a format (this is used to implement find-window) (key 'f');
- the custom format (-F) for the display is no longer available;
- shortcut keys change from 0-9, a-z, A-Z which was always a bit weird with keys used for other uses to 0-9, M-a to M-z.
Now that the code is simpler, other improvements will come later.
Primary key bindings for each mode are documented under the commands in the man page (choose-buffer, choose-client, choose-tree).
Parts written by Thomas Adam.
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.
|
#
68e0a7f2 |
| 16-Oct-2016 |
nicm <nicm@openbsd.org> |
Mass rename struct cmd_q to struct cmdq_item and related.
|
#
765b9a58 |
| 16-Oct-2016 |
nicm <nicm@openbsd.org> |
Rewrite command queue handling. Each client still has a command queue, but there is also now a global command queue. Instead of command queues being dispatched on demand from wherever the command hap
Rewrite command queue handling. Each client still has a command queue, but there is also now a global command queue. Instead of command queues being dispatched on demand from wherever the command happens to be added, they are now all dispatched from the top level server loop. Command queues may now also include callbacks as well as commands, and items may be inserted after the current command as well as at the end.
This all makes command queues significantly more predictable and easier to use, and avoids the complex multiple nested command queues used by source-file, if-shell and friends.
A mass rename of struct cmdq to a better name (cmdq_item probably) is coming.
show more ...
|
#
7a61a8dd |
| 14-Oct-2016 |
nicm <nicm@openbsd.org> |
Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.
|
#
dc1f0f5f |
| 10-Oct-2016 |
nicm <nicm@openbsd.org> |
Add static in cmd-* and fix a few other nits.
|
#
d799fdbd |
| 01-May-2016 |
nicm <nicm@openbsd.org> |
Use the same code for half page scrolling as full, from Michal Mazurek.
|
#
98ca8272 |
| 19-Jan-2016 |
nicm <nicm@openbsd.org> |
I no longer use my SourceForge address so replace it.
|
#
6d6e1a22 |
| 02-Jan-2016 |
nicm <nicm@openbsd.org> |
clock-mode needs CMD_PANE.
|