aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Remove ARRAY_* from history and expand completion to complete a) layoutnicm2015-05-06
| | | | names and b) targets beginning with -t or -s.
* Add a format window_linked which is 1 if a window has been linkednicm2015-05-06
| | | | | | | multiple times, also remove the default space in window_flags and use a conditional to add it in window-status-format (this means additional flags can be added in the option without extra spaces). From Thomas Adam with tweaks by me.
* Turn cursor off during redraw, pointed out by George Nachman.nicm2015-05-06
|
* Use the right index when expanding/collapsing tree, from Thomas Adam.nicm2015-05-04
|
* Do not complain when directions fail.nicm2015-04-29
|
* If default-terminal is set to "screen" or "screen-*", emulate screen'snicm2015-04-29
| | | | | | | | | | | | | | | | historical (incorrect) behaviour for SGR 3 and send smso (standout). Previously, we would send sitm (italics) if the terminal outside had it and smso otherwise. This was acceptably until recently because xterm's terminfo entry lacked sitm, so most users got smso. People who want italics should set default-terminal to the forthcoming "tmux" entry (and be prepared to deal with it being missing on older hosts). As a side-effect this changes default-terminal to be a server rather than a session option. suggested by and ok naddy
* If looking for an index, don't fill in window when given a session.nicm2015-04-28
|
* Do not do a search for the tty path if there isn't one.nicm2015-04-28
|
* If can't find pane as a pane, try as a window; likewise if can't findnicm2015-04-28
| | | | window as a session.
* Add select-layout -o to undo the last layout change (apply the previouslynicm2015-04-28
| | | | set layout).
* Do not include unattached clients when trying to find one for target.nicm2015-04-27
|
* Reset cfg_ncauses to 0 as well or we could allocate the wrong size ifnicm2015-04-27
| | | | called again.
* Assign to the right variable when comparing clients.nicm2015-04-27
|
* Rewrite of the target resolution internals to be simpler and morenicm2015-04-27
| | | | | | | consistent but with much less duplication, but keeping the same internal API. Also adds more readable aliases for some of the special tokens used in targets (eg "{start}" instead of "^"). Some behaviours may have changed, for example prefix matches now happen before fnmatch.
* If the requested pane is already active, do not unzoom the window (or donicm2015-04-27
| | | | | anything else). Prevents mouse clicking when zoomed causing unzoom, reported by Jose Antonio Delgado Alfonso (with a different fix).
* Remove panes from layout if spawning them fails, reported by Anthony Jnicm2015-04-26
| | | | Bentley.
* Get rid of window_choose_list type.nicm2015-04-25
|
* Fix some char* -> char *.nicm2015-04-25
|
* Use a char **,u_int pair for cfg_causes.nicm2015-04-25
|
* Make message log a TAILQ.nicm2015-04-25
|
* Move the functions to convert ids from strings into session.c and window.c.nicm2015-04-25
|
* Explicitly cancel mouse "button" mode, this happens implicitly with somenicm2015-04-25
| | | | | one of the other things we send with xterm, but not with urxvt. Reported by sthen@.
* Convert clients list into a TAILQ.nicm2015-04-24
|
* Set working directory for run-shell and if-shell.nicm2015-04-24
|
* Allow choice options (multiple states) to be toggled between states 0nicm2015-04-24
| | | | and 1.
* Set up signal handler earlier so that we don't get zombies, reported bynicm2015-04-24
| | | | sobrado@.
* use reallocarray instead of calloc; avoid the zero before infillderaadt2015-04-23
| | | | ok nicm
* Make session_has return a flag, returning the first winlink found is anicm2015-04-22
| | | | recipe for errors.
* Change the windows array into an RB tree and fix some places where wenicm2015-04-22
| | | | were only looking at the first winlink for a window in a session.
* window_index is only used in one place (window_destroy) so inline it there.nicm2015-04-22
|
* Look up indexes as number before name, makes more sense if windows arenicm2015-04-21
| | | | named starting with numbers. From Thomas Adam.
* Always format real layout even when zoomed.nicm2015-04-21
|
* Do not die on USR1 if any of the socket parent directories arenicm2015-04-21
| | | | missing. Reported by Robin Powell.
* Simplify error messages when socket connect fails, suggested by "Karthik K".nicm2015-04-21
|
* The free callback could end up being fired before the done callbacknicm2015-04-21
| | | | | (happens on Cygwin), so use a reference count instead of a single flag. SF bug 188 reported by "iceboy".
* Fix moving windows to nonexistent indexes when renumber-windows isnicm2015-04-21
| | | | off. From Thomas Adam, reported by Daniel Levai and Theo Buehler.
* Bind mouse dragging so that it is passed through to applications if theynicm2015-04-21
| | | | want it rather than entering copy mode.
* Don't eat the mouse event that triggers a drag end because we may wantnicm2015-04-21
| | | | to pass it on to application inside the pane.
* Put mouse_any_flag back, don't know where it went to (still in man page).nicm2015-04-21
|
* Pass mouse events through to commands for if-shell.nicm2015-04-21
|
* cmd_mouse_pane can return NULL, check for that.nicm2015-04-21
|
* Remove unused-but-set variables, from Thomas Adam.nicm2015-04-20
|
* Support for multiple key tables to commands to be bound to sequences ofnicm2015-04-20
| | | | | | | keys. The default key bindings become the "prefix" table and -n the "root" table. Keys may be bound in new tables with bind -T and switch-client -T used to specify the table in which the next key should be looked up. Based on a diff from Keith Amling.
* Style nit - unnecessary brackets.nicm2015-04-20
|
* Make jump-to-backward/jump-to-forward repeatable withnicm2015-04-20
| | | | jump-reverse/jump-again, from Jacob Niehus.
* Use a more sensible buffer size for flags string.nicm2015-04-20
|
* tweak previous;jmc2015-04-19
|
* Honour renumber-windows when unlinking a window, from Thomas Adam.nicm2015-04-19
|
* Rewrite of tmux mouse support which was a mess. Instead of havingnicm2015-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). See the new MOUSE SUPPORT section of the man page for description of the key names and new flags (-t= to specify the pane or window under mouse as a target, and send-keys -M to pass through a mouse event). The default builtin bindings for the mouse are: bind -n MouseDown1Pane select-pane -t=; send-keys -M bind -n MouseDown1Status select-window -t= bind -n MouseDrag1Pane copy-mode -M bind -n MouseDrag1Border resize-pane -M To get the effect of turning mode-mouse off, do: unbind -n MouseDrag1Pane unbind -temacs-copy MouseDrag1Pane The old mouse options are now gone, set-option -q may be used to suppress warnings if mixing configuration files.
* Support setting the default window and pane background colours (windownicm2015-04-19
| | | | | and active pane via window-style and window-active-style options, an individual pane by a new select-pane -P flag). From J Raynor.