aboutsummaryrefslogtreecommitdiff
path: root/window.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2017-04-20
|\
| * Now that struct winlink has a session pointer, can remove some arguments.nicm2017-04-20
| |
| * There is no real need for window_printable_flags to allocate, make itnicm2017-04-20
| | | | | | | | return a buffer from the stack.
* | Merge branch 'obsd-master'Thomas Adam2017-03-21
|\|
| * Fix pane movement by direction (up, down, left, right) whennicm2017-03-21
| | | | | | | | pane-border-status is set, from KOIE Hidetaka.
* | Merge branch 'obsd-master'Thomas Adam2017-03-13
|\|
| * Log where panes are created.nicm2017-03-13
| |
* | Merge branch 'obsd-master'Thomas Adam2017-02-27
|\|
| * If splitw -b is used, insert the new pane before the current one in thenicm2017-02-27
| | | | | | | | | | | | pane list. This means the numbering is in order (for example for display-panes) and fixes a problem with redrawing the active pane borders.
* | Merge branch 'obsd-master'Thomas Adam2017-02-22
|\|
| * Minor bits: fix an array size, add comment, make grid_cell_entry static.nicm2017-02-22
| |
* | Merge branch 'obsd-master'Thomas Adam2017-02-08
|\|
| * Remove event watermarks, don't work well enough to be worth it.nicm2017-02-08
| |
* | Merge branch 'obsd-master'Thomas Adam2017-01-24
|\|
| * Shorten a long line, and don't leak buffer in paste_add if size is zero.nicm2017-01-24
| |
* | Merge branch 'obsd-master'Thomas Adam2017-01-23
|\| | | | | | | | | | | Conflicts: Makefile tmux.c
| * Open /dev/ptm before pledge() and save it to be used for PTMGET laternicm2017-01-23
| | | | | | | | | | | | (this means inlining forkpty()). ok deraadt
* | Merge branch 'obsd-master'Thomas Adam2017-01-12
|\|
| * Put all palette functions together in the file.nicm2017-01-12
| |
* | Merge branch 'obsd-master'Thomas Adam2017-01-12
|\|
| * Erm the aixterm colours should start at 8, not 7.nicm2017-01-12
| |
| * Fix setting the palette of aixterm colours (90-97).nicm2017-01-12
| |
* | Merge branch 'obsd-master'Thomas Adam2017-01-07
|\|
| * Add support for the OSC 4 and OSC 104 palette setting escape sequences,nicm2017-01-07
| | | | | | | | from S Gilles.
* | Merge branch 'obsd-master'Thomas Adam2016-11-16
|\|
| * Initialize modeprefix to 1 properly in window_pane_create, from Artem Fokin.nicm2016-11-16
| |
* | Merge branch 'obsd-master'Thomas Adam2016-11-16
|\|
| * The target validity check used window_pane_visible but that may be falsenicm2016-11-16
| | | | | | | | | | | | | | if the pane is zoomed, so instead add a new function to just check if the pane is actually on screen (most commands still want to accept panes invisible by zoom). Also reject panes outside the window for various special targets. Problem reported by Sean Haugh.
* | 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-18
|\|
| * Store the right size in the pipe offset for pipe-pane.nicm2016-10-18
| |
* | 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-15
|\|
| * Give window_create and window_create1 better names.nicm2016-10-15
| |
* | 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-12
|\| | | | | | | | | | | Conflicts: format.c osdep-openbsd.c
| * Add static in window-*.c and move some internal functions out of tmux.h.nicm2016-10-11
| |
| * 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.
* | 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-07-15
|\|
| * Tweak output of environment logging.nicm2016-07-15
| |
| * Log environment to new panes.nicm2016-07-15
| |
* | Remove duplicate daemon.c and time.h.Nicholas Marriott2016-06-27
| |
* | Merge branch 'obsd-master'Thomas Adam2016-06-16
|\|