aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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.
* Fix some issues in bright colour handling. Bold background doesn't existnicm2015-04-15
| | | | | | | | so there is no reason for tty_check_bg to mess with the BRIGHT flag at all, ever. Also use aixterm colours for 256-to-16 translation if the terminal supports them. And there is no reason for tty_colours_bg to worry about whether the terminal supports them - tty_check_bg has already taken care of it.
* Use tty_term_flag not _has for flags, also fix a typo (position notnicm2015-04-15
| | | | permission).
* Fix setting old-style window -fg/-bg/-attr options that aren't global.nicm2015-04-15
|
* Add a -x flag to copy-selection, append-selection and start-named-buffernicm2015-04-10
| | | | | to prevent it exiting copy mode after copying. From J Raynor with a few tweaks by me.
* in the case -> in this case.nicm2015-04-10
|
* When replacing, don't free the old paste until after the new one's namenicm2015-04-07
| | | | | has been copied. Fixes a use-after-free in window-copy.c. Bug reported by J Raynor (who also provided a different fix).
* Add a helper function to convert time, and add session_activity formatsnicm2015-03-31
| | | | (the latter from Takatoshi Matsumoto).
* Fix some format specifier nits, from Ben Boeckel.nicm2015-03-31
|
* set-titles-string now uses formats, not the status bits (so no #() fornicm2015-03-11
| | | | now). Reported by landry.