aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Some improvements and bug fixes for hooks:nicm2016-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Prepare the state again before the "after" hooks are run, because the command may have killed or moved windows. - Use the hooks list from the newly prepared target, not the old hooks list (only matters for new-session really). - Correctly detect an invalid current state and ignore it in cmd_find_target ("killw; swapw"). - Change neww, new, killp, killw, splitw, swapp, swapw to update the current state (used if no explicit target is given) to something more useful after they have finished. For example, neww changes it to the newly created window. Hooks are still relatively new and primitive so there are likely to be more changes to come. Parts based on bug reports from Uwe Werler and Iblis Lin.
| * -f missed from splitw usage, from Felix Rosencrantz.nicm2016-10-13
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-13
|\| | | | | | | | | Conflicts: paste.c
| * Compare to see if pane status line has actually changed, not just size, andnicm2016-10-12
| | | | | | | | do not draw if pane is not visible.
| * Fix a couple of problems with insert mode: flush dirty cells before wenicm2016-10-12
| | | | | | | | | | modify the screen, not after; and use grid_view_insert_cells to make space not grid_move_cells.
| * bind-key -c has gone, remove from man page, and unused table declarations.nicm2016-10-12
| |
| * Drop the edit mode key tables and just use fixed key bindings for thenicm2016-10-12
| | | | | | | | command prompt.
| * Redraw selection in tty_draw_line, so it appears when redrawing wholenicm2016-10-12
| | | | | | | | pane. Reported by Theo Buehler.
| * 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.
| * Unused variable and missing time.h.nicm2016-10-12
| |
* | NetBSD needs _OPENBSD_SOURCE for reallocarray.Nicholas Marriott2016-10-12
| |
* | Linux: #include <time.h> for time()Thomas Adam2016-10-12
| |
* | Add missing function protypeThomas Adam2016-10-12
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-12
|\| | | | | | | | | | | Conflicts: format.c osdep-openbsd.c
| * Some other stuff that can be local to one file.nicm2016-10-11
| |
| * Add static in window-*.c and move some internal functions out of tmux.h.nicm2016-10-11
| |
| * 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.
| * Support UTF-8 entry into the command prompt.nicm2016-10-11
| |
| * Add static in cmd-* and fix a few other nits.nicm2016-10-10
| |
| * Loads more static, except for cmd-*.c and window-*.c.nicm2016-10-10
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-10
|\|
| * Do not allow the opposite pane to resize when dragging with the mousenicm2016-10-10
| | | | | | | | | | because it is not possible to keep the mouse on the border when the minimum size is reached.
* | Merge branch 'obsd-master'Thomas Adam2016-10-10
|\|
| * Some more static.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-10-09
|\|
| * Pass file/line to new command for if-shell so that errors appearnicm2016-10-09
| | | | | | | | sensibly.
| * Handle NULL window or session for user options.nicm2016-10-09
| |
| * Use xsnprintf not snprintf for the prompt in window_copy_write_linenicm2016-10-09
| | | | | | | | | | because we don't care if it is truncated to the screen width, we don't want it to be fatal.
* | Merge branch 'obsd-master'Thomas Adam2016-10-06
|\|
| * screen_write_copy tried to be clever and clear the line if it reachednicm2016-10-05
| | | | | | | | | | | | | | the end of the source, but it was wrong and causes problems that are only showing up now we are more aggressive about skipping redundant screen updates. Remove the optimization entirely as more trouble than it is worth to fix (and it'll have to go when BCE is done anyway).
* | Merge branch 'obsd-master'Thomas Adam2016-10-05
|\|
| * Wrap some long lines in screen-write.c.nicm2016-10-05
| |
| * Keep buffer creation time and add accessors for it and the order number.nicm2016-10-05
| |
| * Allow cmd_mouse_at return arguments to be NULL.nicm2016-10-05
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-04
|\|
| * Remove some dead code in cmd-move-window.c and make a load of localnicm2016-10-03
| | | | | | | | functions static.
* | Merge branch 'obsd-master'Thomas Adam2016-10-04
|\|
| * Document set-hook -u.nicm2016-10-03
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-03
|\|
| * Remove some redundant checks and make ich/dch consistent.nicm2016-10-03
| |
* | Fix typosThomas Adam2016-09-30
| |
* | Start working on 2.4Thomas Adam2016-09-29
| |
* | Release tmux 2.3Thomas Adam2016-09-29
| |
* | Merge branch 'obsd-master'Thomas Adam2016-09-29
|\|
| * Check padding when writing any character with width > 1, in case theynicm2016-09-29
| | | | | | | | | | overlap after the first character (for example with cells xy and ab, y is replacing a).
* | Merge branch 'obsd-master'Thomas Adam2016-09-28
|\|
| * Couple of vasprintf -> xvasprintf.nicm2016-09-28
| |