aboutsummaryrefslogtreecommitdiff
path: root/server-client.c
Commit message (Collapse)AuthorAge
...
| * Make options_get_string return const string.nicm2017-01-13
| |
* | Merge branch 'obsd-master'Thomas Adam2017-01-13
|\|
| * Add -E to detach-client to exec a command to replace the client insteadnicm2017-01-13
| | | | | | | | of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius.
* | Merge branch 'obsd-master'Thomas Adam2017-01-12
|\|
| * Add some missing special keys to key_string_lookup_key, fix a mousenicm2017-01-11
| | | | | | | | check in server_client_handle_key, and tweak a comment.
* | Merge branch 'obsd-master'Thomas Adam2016-12-07
|\|
| * Make prefix work in all tables (except the prefix table). Users who wantnicm2016-12-07
| | | | | | | | | | | | to avoid this can set prefix to "none" and bind send-prefix themselves. Allows C-b t be bound in the copy mode tables again, pointed out by millert@.
* | Merge branch 'obsd-master'Thomas Adam2016-11-24
|\|
| * The mouse valid flag needs to be correct before we fire the draggingnicm2016-11-24
| | | | | | | | | | callback, so move the callback outside of server_client_check_mouse and use a new special key code to indicate it.
* | Merge branch 'obsd-master'Thomas Adam2016-11-24
|\|
| * If in the middle of a drag, don't use an invalid key, just usenicm2016-11-24
| | | | | | | | KEYC_MOUSE as a placeholder. Reported by Artem Fokin.
| * Fix so that we work out the right pane from mouse events - we were doingnicm2016-11-24
| | | | | | | | | | | | | | | | | | | | so too early, before the mouse event was necessarily valid, so could end up using the pane from the previous mouse event, or the active pane. It is important that we use the right pane now that different panes can have different key tables (for copy mode). Fixes problem reported by Greg Hurrell.
* | Merge branch 'obsd-master'Thomas Adam2016-11-23
|\|
| * For mouse keys, use the mouse pane as the default current pane.nicm2016-11-23
| |
* | Merge branch 'obsd-master'Thomas Adam2016-11-16
|\|
| * Do not stop dragging when the wheel is pressed, from Artem Fokin.nicm2016-11-16
| |
* | Merge branch 'obsd-master'Thomas Adam2016-11-15
|\|
| * Turn on margins, with a couple of fixes (only limit to the pane for linenicm2016-11-15
| | | | | | | | feeds, and do not move cursor to end for full width panes).
| * Initial attempt to make use of left and right margins if the terminalnicm2016-11-15
| | | | | | | | | | | | | | supports them (that is, if it advertises itself as a VT420 - probably just xterm). These are the vertical equivalent of the scroll region and allow much faster scrolling of panes that do not take up the full width of the terminal.
* | Merge branch 'obsd-master'Thomas Adam2016-10-19
|\|
| * Alerts are too slow, so rather than walking all sessions and windows,nicm2016-10-19
| | | | | | | | | | | | add a link of winlinks to each window and a pointer to the session to each winlink. Also rewrite the alerts processing to return to the old behaviour (alert in any window sets the flag on any winlink).
* | Merge branch 'obsd-master'Thomas Adam2016-10-17
|\|
| * Use the notify name string instead of going via an enum and changenicm2016-10-16
| | | | | | | | existing hooks to use notifys instead.
* | Merge branch 'obsd-master'Thomas Adam2016-10-16
|\|
| * Mass rename struct cmd_q to struct cmdq_item and related.nicm2016-10-16
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-16
|\|
| * Rewrite command queue handling. Each client still has a command queue,nicm2016-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2016-10-13
|\| | | | | | | | | Conflicts: paste.c
| * The repeat prompt in both emacs and vi (and the old one in tmux) doesn'tnicm2016-10-12
| | | | | | | | | | | | support line editing and instead executes a command as soon as a non-number key is pressed. Add a -N flag to command-prompt for the same in copy mode. Reported by Theo Buehler.
* | Merge branch 'obsd-master'Thomas Adam2016-10-12
|\| | | | | | | | | | | Conflicts: format.c osdep-openbsd.c
| * Support double and triple clicks (they are cumulative, so double isnicm2016-10-11
| | | | | | | | | | fired then triple), and use for select-word and select-line in copy mode. Inspired by a different solution from Omar Sandoval.
| * Fundamental change to how copy mode key bindings work:nicm2016-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Loads more static, except for cmd-*.c and window-*.c.nicm2016-10-10
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-09
|\|
| * Make the CLIENT_STATUS flag imply that pane status lines are redrawn ifnicm2016-10-09
| | | | | | | | | | they are enabled and break the actual screen generation code into a separate function. Fixes problems reported by Romain Francoise.
* | Merge branch 'obsd-master'Thomas Adam2016-09-28
|\|
| * Rate limit TIOCSWINSZ on a timer to avoid programs getting hammered withnicm2016-09-28
| | | | | | | | | | SIGWINCH when the size changes rapidly. To help a problem reported by Rui Pinheiro.
* | Merge branch 'obsd-master'Thomas Adam2016-06-16
|\|
| * Allow a command to be specified to display-panes, similar tonicm2016-06-16
| | | | | | | | command-prompt, rather than always just selecting the pane.
* | Merge branch 'obsd-master'Thomas Adam2016-05-01
|\|
| * tty_client_ready can not be internal to tty.c again.nicm2016-04-30
| |
* | Merge branch 'obsd-master'Thomas Adam2016-04-29
|\|
| * Add option to include status text in the pane borders. Ifnicm2016-04-29
| | | | | | | | | | | | | | | | | | pane-border-status is set to "top" or "bottom" (rather than "off"), every pane has a permanent top or bottom border containing the text from pane-border-format. Based on a diff sent long ago by Jonathan Slenders, mostly rewritten and simplified by me.
* | Merge branch 'obsd-master'Thomas Adam2016-04-28
|\|
| * After unlock, Update activity time after recalculate_sizes() so that thenicm2016-04-28
| | | | | | | | session attached flag is correct.
* | Merge branch 'obsd-master'Thomas Adam2016-03-18
|\|
| * Instead of reusing MouseUp at the finish of a drag, add a new keynicm2016-03-18
| | | | | | | | MouseDragEnd. It can be useful to bind them separately in copy mode.
* | Merge branch 'obsd-master'Thomas Adam2016-03-02
|\| | | | | | | | | Conflicts: utf8.c
| * When a mouse drag is finished, fire a MouseUp key press, instead ofnicm2016-03-01
| | | | | | | | doing the drag end in code. From Stephen Coakley.
* | Merge branch 'obsd-master'Thomas Adam2016-01-19
|\|