aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* Sync OpenBSD patchset 725:Tiago Cunha2010-06-22
| | | | | | Extend the -t:+ and -t:- window targets for next and previous window to accept an offset such as -t:+2. From Tiago Cunha.
* Sync OpenBSD patchset 724:Tiago Cunha2010-06-22
| | | | | | Having a list of winlinks->alerts for each session is stupid, just store the alert flags directly in the winlink itself.
* Sync OpenBSD patchset 716:Tiago Cunha2010-06-06
| | | | | | | | | | | | | | | | | | | | Fix problems with window sizing seen by Raghavendra D Prabhu when starting tmux from .xinitrc. One of the very few things the server relies on the client for now is to pass through a message on SIGWINCH, but there is a condition where potentially a SIGWINCH may be lost during the transition from unattached (main.c) to attached (client.c). So trigger a size change immediately after the client installs its SIGWINCH handler. Also, when the terminal is resized, reset the scroll region and cursor position. Previously, we were clearing our saved idea of these, but in fact some terminals do not reset them on resize, so this caused problems during redraw. While here make a resize to the same size not cause a redraw and rename the tmux.out output log file to include the tmux PID.
* Sync OpenBSD patchset 710:Tiago Cunha2010-06-06
| | | | | | | | | | When the mode-mouse option is on, support dragging to make a selection in copy mode. Also support the scroll wheel, although xterm strangely does not ignore it in application mouse mode, causing redraw artifacts when scrolling up (other terminals appear to be better behaved).
* Use a macro-based mask for obtaining a key or modifier-set from the combination.Micah Cowan2010-06-05
| | | | | Display C-@, etc, as C-Space, in list-keys.
* Pass in the session, rather than the client, to window modes' key() function.Micah Cowan2010-05-22
| | | | | We were only ever using the client to find the session anyway.
* Sync OpenBSD patchset 697:Tiago Cunha2010-05-14
| | | | | | | Identical behaviour to select-prompt can now be obtained with command-prompt, so remove select-prompt and change ' to be bound to command-prompt -p index "select-window -t :%%".
* Sync OpenBSD patchset 696:Tiago Cunha2010-05-14
| | | | | | | Make signal handler setup/teardown two common functions instead of six, and reset SIGCHLD after fork to fix problems with some shells. From Romain Francoise.
* Run job commands explicitly in the global enviroment (which can beNicholas Marriott2010-04-06
| | | | | | modified with setenv -g) rather than with the environment tmux started with.
* Squash a function that is only called in a callback into theNicholas Marriott2010-04-06
| | | | | callback function.
* Stupid style nits.Nicholas Marriott2010-04-06
|
* Merge output (more) and copy modes into one single mode (called copy).Micah Cowan2010-04-05
|
* Nuke unused functions.Nicholas Marriott2010-03-27
|
* Jump-forward, jump-backward in copy mode, based on vi's F and f commands.Micah Cowan2010-03-16
|
* Support up, down, left, right movement through panes with -UDLR flags toNicholas Marriott2010-03-15
| | | | | | | | select-pane. Also remove up- and down-pane: equivalent behaviour is now available using -t :.+ and -t :.-.
* New input parser based on http://vt100.net/emu/dec_ansi_parser.Nicholas Marriott2010-03-15
|
* Sync OpenBSD patchset 658:Tiago Cunha2010-03-08
| | | | | | | | Permit keys in copy mode to be prefixed by a repeat count, entered with [1-9] in vi mode, or M-[1-9] in emacs mode. From Micah Cowan, tweaked a little by me.
* Sync OpenBSD patchset 648:Tiago Cunha2010-02-26
| | | | | | copy mode uses the real screen as backing and if it is updated while copying, strange things can happen. So, freeze reading from the pty while in copy mode.
* Sync OpenBSD patchset 644:Tiago Cunha2010-02-18
| | | | | | Add "N" key to search the opposite way from the last search (reverse of "n"), from Micah Cowan.
* Sync OpenBSD patchset 640:Tiago Cunha2010-02-08
| | | | | Use the array.h code for the causes list.
* Sync OpenBSD patchset 639:Tiago Cunha2010-02-08
| | | | | | Support attaching a client read-only with a new -r flag to the attach-session command.
* Sync OpenBSD patchset 636:Tiago Cunha2010-02-08
| | | | | Rectangle copy support, from Robin Lee Powell.
* Sync OpenBSD patchset 635:Tiago Cunha2010-02-08
| | | | | | | Instead of bailing out on the first configuration file error, carry on, collecting all the errors, then start with the active window in more mode displaying them.
* Sync OpenBSD patchset 634:Tiago Cunha2010-02-05
| | | | | | | | | vi-style B, W and E keys in copy mode to navigate between words treating only spaces as word separators. Also add . to the list of word separators for standard word navigation. From Micah Cowan, tweaked slightly by me.
* Sync OpenBSD patchset 629:Tiago Cunha2010-02-02
| | | | | Add scroll-up/scroll-down for choose/more mode, from Micah Cowan.
* Sync OpenBSD patchset 621:Tiago Cunha2010-01-28
| | | | | | Alter next-word to have vi-like movement behaviour, and add next-word-end with the existing emacs behaviour. From Micah Cowan.
* Sync OpenBSD patchset 617:Tiago Cunha2010-01-28
| | | | | Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me.
* Sync OpenBSD patchset 604:Tiago Cunha2010-01-08
| | | | | | New command, join-pane, to split and move an existing pane into the space (like splitw then movep, or the reverse of breakp).
* Sync OpenBSD patchset 597:Tiago Cunha2010-01-05
| | | | | | Options to set the colour of the pane borders, with different colours for the active pane.
* Sync OpenBSD patchset 590:Tiago Cunha2009-12-18
| | | | | | Allow keys to be replaced and reorder the table so that terminfo-defined keys (or terminal-overrides) take precedence over internally defined.
* Sync OpenBSD patchset 587:Tiago Cunha2009-12-16
| | | | | | New server option, escape-time, to set the timeout used to detect if escapes are alone or part of a function key or meta sequence.
* Sync OpenBSD patchset 585:Tiago Cunha2009-12-10
| | | | | | | | | Add "server options" which are server-wide and not bound to a session or window. Set and displayed with "set -s" and "show -s". Currently the only option is "quiet" (like command-line -q, allowing it to be set from .tmux.conf), but others will come along.
* Sync OpenBSD patchset 584:Tiago Cunha2009-12-10
| | | | | | Permit panes to be referred to as "top", "bottom", "top-left" etc, if the right pane can be identified.
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
* Sync OpenBSD patchset 580:Tiago Cunha2009-12-04
| | | | | | | | | Eliminate duplicate code and ease the passage for server-wide options by adding a -w flag to set-option and show-options and making setw and showw aliases to set -w and show -w. Note: setw and showw are still there, but now aliases for set -w and show -w.
* Sync OpenBSD patchset 577:Tiago Cunha2009-12-02
| | | | | | New command, capture-pane, which copies the entire pane contents to a paste buffer. From Jonathan Alvarado.
* Sync OpenBSD patchset 575:Tiago Cunha2009-12-02
| | | | | Handle partial xterm function key sequences.
* Sync OpenBSD patchset 573:Tiago Cunha2009-11-28
| | | | | This doesn't need to be u_int.
* Sync OpenBSD patchset 569:Tiago Cunha2009-11-28
| | | | | | Tidy up various bits of the paste code, make the data buffer char * and add comments.
* Sync OpenBSD patchset 567:Tiago Cunha2009-11-28
| | | | | | Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to the rest to reduce lint output.
* Sync OpenBSD patchset 562:Tiago Cunha2009-11-28
| | | | | | Output the right keys for application and number keypad modes (they were the wrong way round).
* Sync OpenBSD patchset 554:Tiago Cunha2009-11-19
| | | | | | | Change status line drawing to create the window list in a separate screen and then copy it into the status line screen. This allows UTF-8 in window names and fixes some problems with #[] in window-status-format.
* Sync OpenBSD patchset 553:Tiago Cunha2009-11-19
| | | | | | | | | | Two new options, window-status-format and window-status-current-format, which allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet.
* Sync OpenBSD patchset 549:Tiago Cunha2009-11-19
| | | | | | Don't interpret #() for display-message, it usually doesn't make sense and may leak commands.
* Sync OpenBSD patchset 547:Tiago Cunha2009-11-19
| | | | | | | | | Cleanup by moving various (mostly horrible) little bits handling UTF-8 grid data into functions in a new file, grid-utf8.c, and use sizeof intead of UTF8_DATA. Also nuke trailing whitespace from tmux.1, reminded by jmc.
* Sync OpenBSD patchset 546:Tiago Cunha2009-11-19
| | | | | | | | | | Add a per-client log of status line messages displayed while that client exists. A new message-limit session option sets the maximum number of entries and a command, show-messages, shows the log (bound to ~ by default). This (and prompt history) might be better as a single global log but until there are global options it is easier for them to be per client.
* Sync OpenBSD patchset 540:Tiago Cunha2009-11-14
| | | | | Tweak a comment and add some spacing.
* Sync OpenBSD patchset 539:Tiago Cunha2009-11-14
| | | | | | Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the command entry structs and a couple of functions to check/set the flags.
* Sync OpenBSD patchset 535:Tiago Cunha2009-11-14
| | | | | Destroy panes immediately rather than checking them all every loop.
* Sync OpenBSD patchset 533:Tiago Cunha2009-11-13
| | | | | Zap unused functions, prompted by deraadt.