aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Do not always resize the window back to its original size after applyingnicm2019-06-12
| | | | | | a layout, let the normal window resize process do it. This means windows are not resized at all if window-size is manual, and are not resized multiple times if later attached to a different size terminal.
* Do not resize panes unless they are in an attached, active window. Fromnicm2019-06-11
| | | | Morten M Neergaard in GitHub issue 1782.
* Exiting alternate screen mode should restore cursor position andnicm2019-06-09
| | | | | attributes even if already outside alternate screen mode. GitHub issue 1789.
* Do not try to parse command when unsetting, GitHub issue 1788.nicm2019-06-08
|
* Do not load the config file if the server is exiting because it failednicm2019-06-07
| | | | | | to start, otherwise commands like lsk which start the server again can end up looping infinitely. Also make the first client exit correctly. Problem reported by Wael M Nasreddine.
* Add a -v flag to source-file to show the commands and line numbers.nicm2019-06-05
|
* Need to increment the argument to skip the prefix earlier, fixesnicm2019-06-05
| | | | | repeated incremental search in copy mode, reported by Kaushal Modi in GitHub issue 1780.
* Add new-session -X and attach-session -x to send SIGHUP to parent whennicm2019-06-03
| | | | | detaching (like detach-client -P). From Colin Watson in GitHub issue 1773.
* yacc(1) copies its union so it is not a good place to storenicm2019-06-02
| | | | | TAILQ_HEADs. Allocate them instead. Found from a problem reported by sthen@.
* If only one of -x or -y is given, use the calculated size for thenicm2019-06-01
| | | | other. Pointed out by Ben Boeckel.
* Need stdlib.h, from Ben Boeckel.nicm2019-06-01
|
* Fix warnings, from Ben Boeckel.nicm2019-05-31
|
* Allow % strings that are all numbers or %s, and fix a double free. Bothnicm2019-05-31
| | | | reported by George Nachman, GitHub issues 1765 and 1766.
* Remove a leftover abort and some fixes from cppcheck.nicm2019-05-30
|
* No longer need to reduce line number by one.nicm2019-05-30
|
* I had hoped that non-xenl terminals had died out, at least in fairlynicm2019-05-30
| | | | | modern OSs, but no - DragonFly BSD's console returns to haunt us. Fix it at least somewhat. GitHub issue 1763.
* Use VIS_CSTYLE for the arguments and add the missing escapes it cannicm2019-05-29
| | | | generate to the parser.
* The line number needs to be updated only after the \n is processed bynicm2019-05-29
| | | | | the parser, so store a flag and update it next time around. Also each new line needs its own shared data.
* Support \ooo escapes, from Avi Halachmi.nicm2019-05-29
|
* Redraw status line if size changes, GitHub issue 1762. Also fix lengthnicm2019-05-28
| | | | of target buffer when pasting into status line.
* Do not read past the end of the argument string if it is empty.nicm2019-05-28
|
* Exit 1 correctly if source-file fails.nicm2019-05-28
|
* Allow source-file to take multiple arguments.nicm2019-05-28
|
* Change the default right click pane to open the menu if not in a modenicm2019-05-28
| | | | and no application mouse.
* Add key bindings to open the window and pane menus (C-m and M-m for now).nicm2019-05-28
|
* Allow menu items to be disabled by putting a - at the start of theirnicm2019-05-28
| | | | | name, rather than just including #[dim] which still allowed them to be chosen.
* Change display-menu from taking a single string to a set of arguments,nicm2019-05-28
| | | | which is much easier to work with. Based on a diff from Avi Halachmi.
* Clarify newlines inside {} a little.nicm2019-05-27
|
* Go less crazy with horizontal separators on default menus.nicm2019-05-27
|
* Fix crash when killing the current window, reported by Jesus Rafaelnicm2019-05-27
| | | | Sanchez in GitHub issue 1760.
* Add an additional {} syntax for defining strings in the configurationnicm2019-05-27
| | | | | | | file, making it much tidier to define commands that contain other tmux or shell commands (like if-shell). Also tweak bind-key to expect a string if it is only given one argument, so {} can be used with it as well. From Avi Halachmi.
* Fix the intended ordering of items in buffer mode - it should not alwaysnicm2019-05-27
| | | | be tag 0 when the tree is empty. GitHub issue 1759.
* Add keys for new menu items.nicm2019-05-26
|
* Always redraw overlay if it is on (so status line doesn't redraw over it).nicm2019-05-26
|
* Do not accept choice unless mouse has actually moved before.nicm2019-05-26
|
* Add formats for word and line under the mouse and use them to add somenicm2019-05-26
| | | | items to the pane menu.
* Add a way to append or prepend to a format if the length has been limited.nicm2019-05-26
|
* Some other platforms doesn't support fmemopen(3) (not unexpectedly), sonicm2019-05-26
| | | | | don't use it - since we only use getc/ungetc on the file anyway it is easy not to.
* Add <, >, <=, >= for formats, GitHub issue 1747.nicm2019-05-25
|
* Client name can actually be NULL, so use address in that case.nicm2019-05-25
|
* Use client name when logging command queue.nicm2019-05-25
|
* Merge cmd_list_parse into cmd-parse.y so it can use the new aliasnicm2019-05-25
| | | | processing code.
* Fix error handling in if-shell.nicm2019-05-25
|
* Make cmd_log_argv take a printf-like format for the prefix.nicm2019-05-25
|
* unbreak build, okay nicm@espie2019-05-23
|
* Fix line numbers - commands are added after the line ends so they need tonicm2019-05-23
| | | | get line - 1.
* Use the same argument escaping code for options as well.nicm2019-05-23
|
* Environment variables can start with { also.nicm2019-05-23
|
* Fix drawing of status-right when it is aligned to the centre, GitHubnicm2019-05-23
| | | | issue 1754.
* Break the argument escaping code into a separate function and use it tonicm2019-05-23
| | | | escape key bindings in list-keys. Also escape ~ and ; and $ properly.