aboutsummaryrefslogtreecommitdiff
path: root/window.c
Commit message (Collapse)AuthorAge
...
| * Move signal code into proc.c.nicm2017-07-12
| |
* | Merge branch 'obsd-master'Thomas Adam2017-07-03
|\|
| * Change previous to not wait for both process exit and pty close -nicm2017-07-03
| | | | | | | | | | | | instead if there is a pipe-pane active, do not exit until all data is read (including any libevent hasn't seen yet). Fixes problem reported by Theo Buehler and still seems to solve the original issue.
* | Merge branch 'obsd-master'Thomas Adam2017-07-03
|\|
| * Do not close panes until process has exited and any outstanding datanicm2017-07-03
| | | | | | | | has been written to the pipe-pane event if there is one. GitHub issue 991.
* | Merge branch 'obsd-master'Thomas Adam2017-06-28
|\|
| * Apply the xterm key flag when needed for send-keys, fixes problemnicm2017-06-28
| | | | | | | | reported by Franky Spamschleuder.
* | Merge branch 'obsd-master'Thomas Adam2017-06-05
|\| | | | | | | | | | | Conflicts: tmux.1 window.c
| * Be more strict about escape sequences that rename windows or set titles:nicm2017-06-04
| | | | | | | | | | ignore any that not valid UTF-8 outright, and for good measure pass the result through our UTF-8-aware vis(3).
* | signal.h for utempter, from David CARLIER.Nicholas Marriott2017-06-04
| |
* | Differences to OpenBSD.Nicholas Marriott2017-05-31
| |
* | Merge branch 'obsd-master'Thomas Adam2017-05-31
|\| | | | | | | | | | | | | Conflicts: Makefile.am cfg.c server-client.c
| * Because we defer actually resizing applications (calling TIOCSWINSZ)nicm2017-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | until the end of the server loop, tmux may have gone through several internal resizes in between. This can be a problem if the final size is the same as the initial size (what the application things it currently is), because the application may choose not to redraw, assuming the screen state is unchanged, when in fact tmux has thrown away parts of the screen, assuming the application will redraw them. To avoid this, do an extra resize if the new size is the same size as the initial size. This should force the application to redraw when tmux needs it to, while retaining the benefits of deferring (so we now resize at most two times instead of at most one - and only two very rarely). Fixes a problem with break-pane and zoomed panes reported by Michal Mazurek.
| * Rewrite of choose mode, both to simplify and tidy the code and to addnicm2017-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some modern features. Now the common code is in mode-tree.c, which provides an API used by the three modes now separated into window-{buffer,client,tree}.c. Buffer mode shows buffers, client mode clients and tree mode a tree of sessions, windows and panes. Each mode has a common set of key bindings plus a few that are specific to the mode. Other changes are: - each mode has a preview pane: for buffers this is the buffer content (very useful), for others it is a preview of the pane; - items may be sorted in different ways ('O' key); - multiple items may be tagged and an operation applied to all of them (for example, to delete multiple buffers at once); - in tree mode a command may be run on the selected item (session, window, pane) or on tagged items (key ':'); - displayed items may be filtered in tree mode by using a format (this is used to implement find-window) (key 'f'); - the custom format (-F) for the display is no longer available; - shortcut keys change from 0-9, a-z, A-Z which was always a bit weird with keys used for other uses to 0-9, M-a to M-z. Now that the code is simpler, other improvements will come later. Primary key bindings for each mode are documented under the commands in the man page (choose-buffer, choose-client, choose-tree). Parts written by Thomas Adam.
* | Merge branch 'obsd-master'Thomas Adam2017-05-29
|\|
| * Add ||, && format operators and C: to search pane content.nicm2017-05-29
| |
* | Merge branch 'obsd-master'Thomas Adam2017-05-12
|\|
| * Store copy mode search string in pane so search-again command works evennicm2017-05-12
| | | | | | | | | | if you exit and reenter copy mode (it doesn't remember the position, just the search string), suggested by espie@.
* | Merge branch 'obsd-master'Thomas Adam2017-05-04
|\|
| * Some new notifications, mainly for active pane and current window andnicm2017-05-04
| | | | | | | | | | | | | | | | | | | | | | session: pane-mode-changed window-pane-changed client-session-changed session-window-changed From Joshua Brot.
* | Merge branch 'obsd-master'Thomas Adam2017-04-28
|\|
| * Log what is happening with window and session reference counts much morenicm2017-04-28
| | | | | | | | obviously.
| * Remove a reference from the right window when removing from a winlink'snicm2017-04-28
| | | | | | | | list.
* | Merge branch 'obsd-master'Thomas Adam2017-04-21
|\| | | | | | | | | | | Conflicts: Makefile.am pty.c
| * Use fdforkpty() instead of our own unwrapped versions.nicm2017-04-20
| |
* | 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
|\|