aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
| | * Tidy by removing unused argument from grid_view_{insert,delete}_line_regionNicholas Marriott2009-07-09
| | | | | | | | | | | | functions (currently don't fully work, this is to make fix easier).
| | * Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX,Nicholas Marriott2009-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | and some people may use shells which do not support it. Instead, make an empty default-command option mean a login shell, and fork it with a - in argv[0] which is the method used by login(1). Also fix the automatic-rename code to handle this correctly and to strip a leading - if present.
| | * Rename the global options variables to be shorter and to make session optionsNicholas Marriott2009-07-07
| | | | | | | | | | | | | | | clear. No functional change, getting this out of the way to make later options changes easier.
| | * Remove some unused function declarations; no binary change.Nicholas Marriott2009-06-26
| | |
| | * #ifndef nitems to avoid redefining it if it is already in a header.Nicholas Marriott2009-06-25
| | |
| | * tmux doesn't and won't need syslog logging, so remove it and some other unusedNicholas Marriott2009-06-25
| | | | | | | | | | | | | | | | | | functions found by lint. Also move a couple of internal function declarations into file scope.
| | * Miscellaneous unused functions, including one which was basically aNicholas Marriott2009-06-25
| | | | | | | | | | | | duplicate. Found by lint.
| | * Nuke unused buffer functions. Found by lint.Nicholas Marriott2009-06-25
| | | | | | | | | | | | Also remove some old debug output which was #if 0.
| | * Change find-window and monitor-content to use fnmatch(3). For convenience andNicholas Marriott2009-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | compatibility, *s are implicitly added at the start and end of the pattern. Also display the line number and the entire line in the results, and lose the nasty section_string function and the now empty util.c file. Initially from Tiago Cunha.
| | * Add a dedicated function to convert a line into a string and use it to ↵Nicholas Marriott2009-06-24
| | | | | | | | | | | | simplify the search window function.
| | * Trying to predict the cursor position for UTF-8 output in the same way as forNicholas Marriott2009-06-24
| | | | | | | | | | | | | | | | | | normal eight-bit output is wrong, separate it into a different function. Fixes spacing when mixing UTF-8 with some escape sequences, notably the way w3m does it.
| | * Constify utf8_width() function argument.Nicholas Marriott2009-06-24
| | |
| | * Proper support for tab stops (\033H etc), using a bitstring(3). Makes anotherNicholas Marriott2009-06-04
| | | | | | | | | | | | vttest test happy.
| | * Implement the DEC alignment test. With the last change this is enough for theNicholas Marriott2009-06-03
| | | | | | | | | | | | | | | first cursor test in vttest (in ports) to pass; it still shops a few more problems though.
| | * New session option, status-utf8, to control the interpretation of top-bit-setNicholas Marriott2009-06-03
| | | | | | | | | | | | | | | characters in status-left and status-right (if on, they are treated as UTF-8; otherwise passed through).
| | * Add a UTF-8 aware string length function and make UTF-8 inNicholas Marriott2009-06-03
| | | | | | | | | | | | | | | | | | status-left/status-right work properly. At the moment any top-bit-set characters are assumed to be UTF-8: a status-utf8 option to configure this will come shortly.
| | * When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmuxNicholas Marriott2009-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | crashes when trying to find the new active pane. While here, nuke an unused pane flag. Fixes PR 6160, reported by and a slightly different version of diff tested by ralf.horstmann at gmx.de.
| | * Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott2009-06-01
| | | | | | | | | | | | | | terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti
* | Use pgrp of pty fd not pid of immediate child when recovering current workingNicholas Marriott2012-09-24
|/ | | | directory (like current process). From Marcel Partap.
* When choosing a pane found by find-window, switch to that pane ratherNicholas Marriott2012-09-04
| | | | than just the window. Also use a helper function for the inner loop.
* add cmd-choose-list to allow arbitrary options to be selected. FromNicholas Marriott2012-09-04
| | | | Thomas Adam.
* Send notifications to control clients. Also don't redraw client whenNicholas Marriott2012-09-04
| | | | suspended.
* Sync OpenBSD patchset 1165:Tiago Cunha2012-08-31
| | | | | | | Fix up window reference counting and don't crash if the rename timer fires while the window is dead but still referenced. Fixes problem reported by Michael Scholz.
* Sync OpenBSD patchset 1162:Tiago Cunha2012-08-31
| | | | | | Use a separate define for each default format template and strip clutter from the choose-tree defaults.
* Sync OpenBSD patchset 1156:Tiago Cunha2012-08-12
| | | | | | | Instead of numbering choose mode items 0-9a-z and then nothing, number them all and if there are more than 10 use a prompt when 0-9 is pressed. From Thomas Adam.
* Sync OpenBSD patchset 1153:Tiago Cunha2012-08-12
| | | | | | | Add a queue of notifys and a way to turn them off and on (we do not want notifys to happen during some commands). Based on code from George Nachman.
* Sync OpenBSD patchset 1151:Tiago Cunha2012-07-11
| | | | | | | | Make command exec functions return an enum rather than -1/0/1 values and add a new value to mean "leave client running but don't attach" to fix problems with using some commands in a command sequence. Most of the work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.
* Sync OpenBSD patchset 1150:Tiago Cunha2012-07-11
| | | | | xfree is not particularly helpful, remove it. From Thomas Adam.
* Sync OpenBSD patchset 1146:Tiago Cunha2012-07-11
| | | | | | | Add choose-tree command to show windows and sessions in the same list. Change choose-window and -session to use the same code. From Thomas Adam.
* Sync OpenBSD patchset 1144:Tiago Cunha2012-07-11
| | | | | Clear flags across all sessions, from Thomas Adam.
* Sync OpenBSD patchset 1143:Tiago Cunha2012-07-04
| | | | | | | Provide common helper function for adding windows and sessions to choose lists and expand %% in command before using it rather than at callback time. From Thomas Adam.
* Sync OpenBSD patchset 1142:Tiago Cunha2012-07-04
| | | | | Clean up and simplify the choose mode code, from Thomas Adam.
* Sync OpenBSD patchset 1138:Tiago Cunha2012-06-18
| | | | | | | | | Add a skeleton mode to tmux (called "control mode") that let's tmux commands be sent and output received on stdout. This can be used to integrate with other terminal emulators and should allow some other things to be made simpler later. More to come so doesn't do much yet and deliberately not documented.
* Sync OpenBSD patchset 1125:Tiago Cunha2012-05-30
| | | | | | Strip layout from choose-windows again (leave in list-windows), suggested by Romain Francoise, diff from Thomas Adam.
* Sync OpenBSD patchset 1124:Tiago Cunha2012-05-30
| | | | | Fix client templates, from Romain Francoise.
* Sync OpenBSD patchset 1123:Tiago Cunha2012-05-30
| | | | | Simplify logging and just fprintf(stderr, ...) for early errors.
* Sync OpenBSD patchset 1122:Tiago Cunha2012-05-30
| | | | | Use a predefined structure for not-space cells used to set attributes.
* Sync OpenBSD patchset 1121:Tiago Cunha2012-05-22
| | | | | | Store client in tty struct directly instead of using a callback function pointer.
* Sync OpenBSD patchset 1120:Tiago Cunha2012-05-22
| | | | | Store mouse data in tty structure not on the stack.
* Sync OpenBSD patchset 1119:Tiago Cunha2012-05-22
| | | | | | Switch all of the various choose- and list- commands over to the format infrastructure, from Thomas Adam.
* Sync OpenBSD patchset 1118:Tiago Cunha2012-05-22
| | | | | Add a helper function to send ready message.
* Sync OpenBSD patchset 1116:Tiago Cunha2012-05-22
| | | | | | If there are any terminals with insert mode but not ich1, they can go through the slow path. Tidies code slightly.
* Sync OpenBSD patchset 1114:Tiago Cunha2012-05-22
| | | | | | | | | | | | | Instead of passing stdin/stdout/stderr file descriptors over imsg and handling them in the server, handle them in the client and pass buffers over imsg. This is much tidier for some upcoming changes and the performance hit isn't critical. The tty fd is still passed to the server as before. This bumps the tmux protocol version so new clients and old servers are incompatible.
* Sync OpenBSD patchset 1111:Tiago Cunha2012-05-12
| | | | | Add a helper function to open the terminal for attach-/new-session.
* Sync OpenBSD patchset 1104:Tiago Cunha2012-05-03
| | | | | | | Add a flag to move-window to renumber the windows in a session (closing any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam.
* Sync OpenBSD patchset 1102:Tiago Cunha2012-05-03
| | | | | | Add a buffer with all input from last ground state, will be used for control mode. From George Nachman.
* Sync OpenBSD patchset 1092:Tiago Cunha2012-04-12
| | | | | | Stop accepting new clients for 1 second on EMFILE/ENFILE. Based on ongoing fixes to other daemons by Theo.
* Sync OpenBSD patchset 1090:Tiago Cunha2012-04-10
| | | | | Fix comment for mouse bits.
* Sync OpenBSD patchset 1084:Tiago Cunha2012-04-10
| | | | | | Add a layout history which can be stepped through with select-layout -u and -U commands (bound to 'u' and 'U' by default).
* Sync OpenBSD patchset 1072:Tiago Cunha2012-03-29
| | | | | | | | | | | | | | | | | | | | Add a simple form of output rate limiting by counting the number of certain C0 sequences (linefeeds, backspaces, carriage returns) and if it exceeds a threshold (current default 50/millisecond), start to redraw the pane every 100 milliseconds instead of making each change as it comes. Two configuration options - c0-change-trigger and c0-change-interval. This makes tmux much more responsive under very fast output (for example yes(1) or accidentally cat'ing a large file) but may not be perfect on all terminals and connections - feedback very welcome, particularly where this change has a negative rather than positive effect (making it off by default is a possibility). After much experimentation based originally on a request Robin Lee Powell (which ended with a completely different solution), this idea from discussion with Ailin Nemui.