aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* Sync OpenBSD patchset 953:Tiago Cunha2011-09-21
| | | | | | | | | | Add initial framework for more powerful formatting of command output and use it for list-{panes,windows,sessions}. This allows more descriptive replacements (such as #{session_name}) and conditionals. Later this will be used for status_replace and list-keys and other places.
* Sync OpenBSD patchset 949:Tiago Cunha2011-08-25
| | | | | Add a tty_bell wrapper function, from Dylan Alex Simon.
* Sync OpenBSD patchset 927:Tiago Cunha2011-07-03
| | | | | | Allow the initial context on prompts to be set with the new -I option to command-prompt. From Tiago Cunha.
* Sync OpenBSD patchset 926:Tiago Cunha2011-07-03
| | | | | PANE_FREEZE doesn't do anything anymore, so remove it.
* PatchSet 924Nicholas Marriott2011-06-23
| | | | | | | | | | | Date: 2011/06/05 12:19:03 Author: nicm Branch: HEAD Tag: (none) Log: Add a respawn-pane command, from Marcel Partap.
* PatchSet 923Nicholas Marriott2011-06-23
| | | | | | | | | | | | Date: 2011/06/05 11:53:05 Author: nicm Branch: HEAD Tag: (none) Log: Get rid of the layout string code which tries to walk through the layout hierarchy and instead just look at what panes are actually in the window.
* Sync OpenBSD patchset 916:Tiago Cunha2011-05-22
| | | | | | Support DECSCUSR sequence to set the cursor style with two new terminfo(5) extensions, Cs and Csr. Written by Ailin Nemui.
* Sync OpenBSD patchset 915:Tiago Cunha2011-05-22
| | | | | | | Support xterm(1) cursor colour change sequences through terminfo(5) Cc (set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked by me and Ailin Nemui.
* Sync OpenBSD patchset 914:Tiago Cunha2011-05-22
| | | | | | | | | | Support setting the xterm clipboard when copying from copy mode using the xterm escape sequence for the purpose (if xterm is configured to allow it). Written by and much discussed Ailin Nemui, guidance on xterm/termcap/terminfo from Thomas Dickey.
* Sync OpenBSD patchset 913:Tiago Cunha2011-05-18
| | | | | | Add three new copy-mode commands - select-line, copy-line, copy-end-of-line. From Dave Disser and Randy Stauner a while back.
* Sync OpenBSD patchset 905:Tiago Cunha2011-05-18
| | | | | | Add a new option, mouse-resize-pane. When on, panes may be resized by dragging their borders. From hsim at gmx.li.
* Sync OpenBSD patchset 904:Tiago Cunha2011-05-18
| | | | | | | | Use the tsl and fsl terminfo(5) capabilities to update terminal title and automatically fill them in on terminals with the XT capability (which means their title setting is xterm-compatible). From hsim at gmx.li.
* Sync OpenBSD patchset 896:Tiago Cunha2011-04-25
| | | | | | | | When mode-mouse is on (it is off by default), automatically enter copy mode when the mouse is dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel is scrolled off the bottom. Discussed with and written by hsim at gmx dot li.
* |PatchSet 893Nicholas Marriott2011-04-18
| | | | | | | | | | | |Date: 2011/04/18 20:49:05 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Add an option (mouse-select-window) which allows the mouse to be used by |clicking on the status line, written by hsim at gmx dot li.
* If the terminal supports sitm for italics, use it instead of standoutNicholas Marriott2011-04-09
| | | | | (smso). From Tiago Resende.
* |PatchSet 884Nicholas Marriott2011-04-06
| | | | | | | | | | | | |Date: 2011/04/06 22:51:31 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Change so that an empty session name always means the current sessions |even if given with, for example, -t '', and explicitly forbid empty |session names and those containing a : when they are created.
* |PatchSet 882Nicholas Marriott2011-04-06
| | | | | | | | | | | | |Date: 2011/04/05 20:37:01 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Add a flag to cmd_find_session so that attach-session can prefer |unattached sessions when choosing the most recently used (if -t is not |given). Suggested by claudio@.
* |PatchSet 876Nicholas Marriott2011-04-06
| | | | | | | | | | | |Date: 2011/03/29 20:30:16 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Change -t on display-message to be target-pane for the #[A-Z] |replacements and add -c as target-client.
* |PatchSet 873Nicholas Marriott2011-04-06
| | | | | | | | | | |Date: 2011/03/28 20:44:31 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Style: uint -> u_int and a missing else.
* |PatchSet 871Nicholas Marriott2011-04-06
| | | | | | | | | | | | |Date: 2011/03/27 21:31:25 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Don't include meta twice when working out the flags to output for |xterm-style keys - bit 3 is accepted on input but not on output. Also a |style nit in the header.
* PatchSet 870Nicholas Marriott2011-04-06
| | | | | | | | | | | | Date: 2011/03/27 21:27:26 Author: nicm Branch: HEAD Tag: (none) Log: Give each pane created in a tmux server a unique id (starting from 0), put it in the TMUX_PANE environment variable and accept it as a target. Suggested by and with testing and tweaks from Ben Boeckel.
* Sync OpenBSD patchset 866:Tiago Cunha2011-03-19
| | | | | | | | | | | | Support passing through escape sequences to the underlying terminal by using DCS with a "tmux;" prefix. Escape characters in the sequences must be doubled. For example: $ printf '\033Ptmux;\033\033]12;red\007\033\\' Will pass \033]12;red\007 to the terminal (and change the cursor colour in xterm). From Kevin Goodsell.
* Sync OpenBSD patchset 863:Tiago Cunha2011-03-19
| | | | | | Add a -P option to detach to HUP the client's parent process (usually causing it to exit as well).
* Sync OpenBSD patchset 855:Tiago Cunha2011-02-15
| | | | | | | | | | | | | | | | | | | Simplify the way jobs work and drop the persist type, so all jobs are fire-and-forget. Status jobs now managed with two trees of output (new and old), rather than storing the output in the jobs themselves. When the status line is processed any jobs which don't appear in the new tree are started and the output from the old tree displayed. When a job finishes it updates the new tree with its output and that is used for any subsequent redraws. When the status interval expires, the new tree is moved to the old so that all jobs are run again. This fixes the "#(echo %H:%M:%S)" problem which would lead to thousands of identical persistent jobs and high memory use (this can still be achieved by adding "sleep 30" but that is much less likely to happen by accident).
* Sync OpenBSD patchset 854:Tiago Cunha2011-02-15
| | | | | Use LIST_* not SLIST_*.
* Sync OpenBSD patchset 853:Tiago Cunha2011-02-15
| | | | | | When clearing the entire screen, clear lines that are used into the history like xterm does. Requested ages ago by someone I've forgotten.
* Sync OpenBSD patchset 852:Tiago Cunha2011-02-15
| | | | | | Check if the index is in use and fail before creating the child process, rather than leaving a stray child on failure.
* Sync OpenBSD patchset 848:Tiago Cunha2011-02-14
| | | | | Set $TMUX without the session when background jobs are run.
* Sync OpenBSD patchset 845:Tiago Cunha2011-01-21
| | | | | | Mouse highlight mode (1001) requires a program to cooperate so supporting it through tmux is not as easy as this, remove it for now.
* Sync OpenBSD patchset 834:Tiago Cunha2011-01-21
| | | | | | | Move all calls to fcntl(...O_NONBLOCK) into a function and clear the flag on the stdio file descriptors before closing them (fixes things like "tmux ls && cat").
* Sync OpenBSD patchset 813:Tiago Cunha2011-01-07
| | | | | | Add a function to create window flags rather than doing the same thing in two places. From Thomas Adam.
* Sync OpenBSD patchset 829:Tiago Cunha2011-01-07
| | | | | | | | | | | | | | | | | | | | | | Clean up and simplify tmux command argument parsing. Originally, tmux commands were parsed in the client process into a struct with the command data which was then serialised and sent to the server to be executed. The parsing was later moved into the server (an argv was sent from the client), but the parse step and intermediate struct was kept. This change removes that struct and the separate parse step. Argument parsing and printing is now common to all commands (in arguments.c) with each command left with just an optional check function (to validate the arguments at parse time), the exec function and a function to set up any key bindings (renamed from the old init function). This is overall more simple and consistent. There should be no changes to any commands behaviour or syntax although as this touches every command please watch for any unexpected changes.
* Sync OpenBSD patchset 828:Tiago Cunha2011-01-07
| | | | | | | | | | | | Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262 and supports larger terminals than the older way. If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all UTF-8 terminals. The option defaults to on if LANG etc are set in the same manner as the utf8 option. With help and based on code from hsim at gmx.li.
* Sync OpenBSD patchset 826:Tiago Cunha2011-01-03
| | | | | | | | Move the user-visible parts of all options (names, types, limit, default values) together into one set of tables in options-table.c. Also clean up and simplify cmd-set-options.c and move a common print function into option-table.c.
* Sync OpenBSD patchset 823:Tiago Cunha2011-01-03
| | | | | Sprinkle a little more const.
* Sync OpenBSD patchset 822:Tiago Cunha2011-01-03
| | | | | Another table that should be const.
* Sync OpenBSD patchset 819:Tiago Cunha2011-01-03
| | | | | | | | | Don't reset the activity timer for unattached sessions every second, this screws up the choice of most-recently-used. Instead, break the time update into a little function and do it when the session is attached. Pointed out by joshe@.
* Switch tmux to use autoconf and automake.Nicholas Marriott2010-12-31
| | | | | Although they suck, they suck less than the alternatives.
* Sync OpenBSD patchset 816:Tiago Cunha2010-12-31
| | | | | Remove some unused defines.
* Global paste buffers instead of per-session which renders copy-buffer useless.Tiago Cunha2010-12-30
| | | | | As a consequence buffer-limit is now a server option.
* Sync OpenBSD patchset 812:Tiago Cunha2010-12-30
| | | | | | Support all four of the xterm mouse modes. Based on a diff from hsim at gmx.li.
* epoll on Linux is broken with /dev/null so it needs to be disabled.Nicholas Marriott2010-12-30
| | | | | | Instead of adding another BROKEN_* define, move event_init into osdep-*.c.
* Sync OpenBSD patchset 806:Tiago Cunha2010-12-22
| | | | | | | | | | | Store sessions in an RB tree by name rather than a list, this is tidier and allows them to easily be shown sorted in various lists (list-sessions/choose-sessions). Keep a session index which is used in a couple of places internally but make it an ever-increasing number rather than filling in gaps with new sessions.
* Sync OpenBSD patchset 803:Tiago Cunha2010-12-22
| | | | | | Dead sessions are never on the active sessions list, so the SESSION_DEAD flag is effectively unused. Remove it.
* Sync OpenBSD patchset 802:Tiago Cunha2010-12-22
| | | | | Use pointer rather than index for the client's last session.
* Sync OpenBSD patchset 801:Tiago Cunha2010-12-22
| | | | | | | Unify the way sessions are used by callbacks - store the address and use the reference count, then check it is still on the global sessions list in the callback.
* Track the last session for a client and add a flag to switch-client andNicholas Marriott2010-12-11
| | | | | a key binding (L) to move a client back to its last session.
* Make the prompt history global for all clients which is much more usefulNicholas Marriott2010-12-11
| | | | | than per-client history.
* Add an option to alert (monitor) for silence (lack of activity) in aNicholas Marriott2010-12-06
| | | | | window. From Thomas Adam.
* PatchSet 789Nicholas Marriott2010-12-06
| | | | | | | | | | | | | | | | | | | | Date: 2010/11/22 21:13:13 Author: nicm Branch: HEAD Tag: (none) Log: There is somewhere that WINDOW_HIDDEN is getting set when it shouldn't be and I can't find it, but the flag itself is a useless optimisation that only applies to automatic-resize windows, so just dispose of it entirely. Fixes problems reported by Nicholas Riley. Members: resize.c:1.5->1.6 tmux.h:1.246->1.247 tty.c:1.92->1.93