aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* | Merge branch 'obsd-master'Thomas Adam2016-10-14
|\|
| * Trying to do hooks generically is way too complicated and unreliable andnicm2016-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | confusing, particularly trying to automatically figure out what target hooks should be using. So simplify it: - drop before hooks entirely, they don't seem to be very useful; - commands with special requirements now fire their own after hook (for example, if they change session or window, or if they have -t and -s and need to choose which one the hook uses as current target); - commands with no special requirements can have the CMD_AFTERHOOK flag added and they will use the -t state. At the moment new-session, new-window, split-window fire their own hook, and display-message uses the flag. The remaining commands still need to be looked at.
* | Merge branch 'obsd-master'Thomas Adam2016-10-13
|\|
| * Add support for BCE (background colour erase). This makes various escapenicm2016-10-13
| | | | | | | | | | | | | | | | | | | | | | | | sequences (notable EL and ED but also IL, DL, ICH, DCH) create blank cells using the current background colour rather than the default colour. On modern systems BCE doesn't really have many benefits, but most other terminals now support it, some (lazy) applications rely on it, and it is not hard to include now that we have pane background colours anyway. Mostly written by Sean Haugh.
* | Merge branch 'obsd-master'Thomas Adam2016-10-13
|\|
| * 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.
* | Merge branch 'obsd-master'Thomas Adam2016-10-13
|\| | | | | | | | | Conflicts: paste.c
| * 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.
* | 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
| |
* | 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-05
|\|
| * Keep buffer creation time and add accessors for it and the order number.nicm2016-10-05
| |
* | 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-09-16
|\|
| * Swap watermarks from high (4096) to low (128) when we get full buffersnicm2016-09-16
| | | | | | | | | | | | | | | | | | into the read callback several times in succession; swap back when we see empty buffers several times. This hopefully limits how much programs that print a lot for a long period can monopolize tmux (like large, fast compiling), without penalizing programs that print a lot briefly (like most curses applications). Helps a lot for me, the actual numbers may need tweaking later.
* | Merge branch 'obsd-master'Thomas Adam2016-09-12
|\|
| * Allow repeat count to be specified in mode key tables with bind-key -R,nicm2016-09-12
| | | | | | | | | | and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode.
* | Merge branch 'obsd-master'Thomas Adam2016-09-04
|\|
| * Add support for performing a full width split (with splitw -f), rathernicm2016-09-04
| | | | | | | | than splitting the current cell. From Stephen Kent.
* | Merge branch 'obsd-master'Thomas Adam2016-09-03
|\|
| * Remember the number of lines scrolled into the history (versus clearednicm2016-09-02
| | | | | | | | | | | | into the history) and when resizing only use scrolled lines and not cleared lines (which are probably not intended to reappear). From Chaoren Lin.
* | Merge branch 'obsd-master'Thomas Adam2016-08-03
|\|
| * Fix minimum size when pane status line is enabled, reported by Y Petremann.nicm2016-08-03
| |
* | Merge branch 'obsd-master'Thomas Adam2016-07-15
|\|
| * Tweak output of environment logging.nicm2016-07-15
| |
| * Log environment to new panes.nicm2016-07-15
| |
* | Merge branch 'obsd-master'Thomas Adam2016-07-15
|\|
| * Don't update cells in each block of data read from a pane immediately,nicm2016-07-15
| | | | | | | | | | | | instead track them as change (dirty) and update them once at the end, saves much time if repeatedly writing the same cell. Also fix comparison of cells being equal in a few places (memcmp is not enough).
* | 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-06-15
|\|
| * Copy mode needs to keep the original grid intact so it can copy from itnicm2016-06-15
| | | | | | | | | | | | if needed, so it disables reading from the pane. This can be problem with some programs. So make tmux automatically exit all modes after 180 seconds of inactivity and if there is pending output.
* | Merge branch 'obsd-master'Thomas Adam2016-06-06
|\|
| * Cache selected state so that cells going from selected to unselected are notnicm2016-06-06
| | | | | | | | skipped, reported by Omar Sandoval.
| * Insert new panes after the pane being split in the list rather thannicm2016-06-06
| | | | | | | | | | always after the active pane. This is more sensible when doing it with commands rather than keys.
* | Merge branch 'obsd-master'Thomas Adam2016-05-30
|\|