#
6eb18d37 |
| 07-Nov-2019 |
nicm <nicm@openbsd.org> |
Add -F flag to send-keys to expand formats in search-backward and forward copy mode commands, this makes it easier to use the cursor_word and cursor_line formats. From Anindya Mukherjee in GitHub iss
Add -F flag to send-keys to expand formats in search-backward and forward copy mode commands, this makes it easier to use the cursor_word and cursor_line formats. From Anindya Mukherjee in GitHub issue 1964.
show more ...
|
#
f370ca23 |
| 10-Jul-2019 |
nicm <nicm@openbsd.org> |
The command item changes so can't keep getting the target out of it, need to use the one from the first item. Fixes crash reported by M Kelly.
|
#
a02c6cc0 |
| 09-Jul-2019 |
nicm <nicm@openbsd.org> |
Add a -H flag to send-keys to send literal keys given as hex numbers (needed for control clients to send mouse sequences). Also add some format flags for UTF-8 and SGR mouse mode. Requested by Bradle
Add a -H flag to send-keys to send literal keys given as hex numbers (needed for control clients to send mouse sequences). Also add some format flags for UTF-8 and SGR mouse mode. Requested by Bradley Smith in GitHub issues 1832 and 1833.
show more ...
|
#
f43bc87c |
| 12-May-2019 |
nicm <nicm@openbsd.org> |
Add simple menus to tree, client, buffer modes.
|
#
ad30ae1d |
| 09-May-2019 |
nicm <nicm@openbsd.org> |
send-keys also needs to insert key commands in the right order.
|
#
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 ...
|
#
30a94f45 |
| 07-Mar-2019 |
nicm <nicm@openbsd.org> |
Add a separate mode struct for the active window mode if any.
|
#
bf52409e |
| 18-Dec-2018 |
nicm <nicm@openbsd.org> |
Pass window into mode functions.
|
#
4e325abe |
| 02-Aug-2018 |
nicm <nicm@openbsd.org> |
Make key trees and some other bits static.
|
#
0f99bcbc |
| 28-Jun-2017 |
nicm <nicm@openbsd.org> |
Apply the xterm key flag when needed for send-keys, fixes problem reported by Franky Spamschleuder.
|
#
1bdc6ecb |
| 10-May-2017 |
nicm <nicm@openbsd.org> |
Insert copy mode bindings at the right place in the command queue.
|
#
edafd27b |
| 09-May-2017 |
nicm <nicm@openbsd.org> |
If the target pane for send-keys in in a mode with a key table (that is, copy mode), then look the key up in the table and fire any command instead of delivering the key to the pane directly where it
If the target pane for send-keys in in a mode with a key table (that is, copy mode), then look the key up in the table and fire any command instead of delivering the key to the pane directly where it will be ignored. This makes C-b C-b (send-prefix) work in copy mode again.
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.
|
#
e16c1698 |
| 07-Jan-2017 |
nicm <nicm@openbsd.org> |
Add support for the OSC 4 and OSC 104 palette setting escape sequences, from S Gilles.
|
#
70cc35ee |
| 11-Dec-2016 |
nicm <nicm@openbsd.org> |
-N without arguments needs to set prefix count for the mode command, so that M-1 etc work. Reported by Theo Buehler.
|
#
3a26dadf |
| 08-Dec-2016 |
nicm <nicm@openbsd.org> |
Fix send-keys with UTF-8.
|
#
6ea8b4b1 |
| 29-Nov-2016 |
nicm <nicm@openbsd.org> |
Make send -N work for all keys, not just in copy mode. From Artem Fokin.
|
#
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.
|
#
576538d5 |
| 11-Oct-2016 |
nicm <nicm@openbsd.org> |
Fundamental change to how copy mode key bindings work:
The vi-copy and emacs-copy mode key tables are gone, and instead copy mode commands are bound in one of two normal key tables ("copy-mode" or "
Fundamental change to how copy mode key bindings work:
The vi-copy and emacs-copy mode key tables are gone, and instead copy mode commands are bound in one of two normal key tables ("copy-mode" or "copy-mode-vi"). Keys are bound to "send-keys -X copy-mode-command". So:
bind -temacs-copy C-Up scroll-up bind -temacs-copy -R5 WheelUpPane scroll-up
Becomes:
bind -Tcopy-mode C-Up send -X scroll-up bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up
This allows the full command parser and command set to be used - for example, we can use the normal command prompt for searching, jumping, and so on instead of a custom one:
bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'"
command-prompt also gets a -1 option to only require on key press, which is needed for jumping.
The plan is to get rid of mode keys entirely, so more to come eventually.
show more ...
|
#
dc1f0f5f |
| 10-Oct-2016 |
nicm <nicm@openbsd.org> |
Add static in cmd-* and fix a few other nits.
|
#
98ca8272 |
| 19-Jan-2016 |
nicm <nicm@openbsd.org> |
I no longer use my SourceForge address so replace it.
|
#
b2f7d8c8 |
| 16-Dec-2015 |
nicm <nicm@openbsd.org> |
send-keys -R should reset the input parser to ground state (so it can be used to escape from, for example, printf '\033]2;').
|