aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add -r to find-window for regex instead of fnmatch.nicm2019-06-20
|
* Need to always check focus even if not current window.nicm2019-06-20
|
* FIx return of options_scope_from_name on error.nicm2019-06-20
|
* Fix how regex substitution works with empty matches.nicm2019-06-20
|
* allow-rename and alternate-screen can be pane options.nicm2019-06-20
|
* Still need to walk the options tree for user options.nicm2019-06-20
|
* Add a per-pane option set. Pane options inherit from window options (sonicm2019-06-20
| | | | | | | | | | | | there should be no change to existing behaviour) and are set and shown with set-option -p and show-options -p. Change remain-on-exit and window-style/window-active-style to be pane options (some others will be changed later). This makes select-pane -P and -g unnecessary so no longer document them (they still work) and no longer document set-window-option and show-window-options in favour of set-option -w and show-options -w.
* Add a helper function to work out option table from name.nicm2019-06-20
|
* Add a -A flag to show-options to show parent options as well.nicm2019-06-20
|
* Expand command formats in %if and move the config file loading later (tonicm2019-06-20
| | | | | when the first client has identified) so all the client formats are available, fixes problems reported by Thomas Sattler.
* Handle comments more correctly inside {}, from Avi Halachmi.nicm2019-06-18
|
* Add a cmdq_continue function rather than twiddling the flag directly.nicm2019-06-18
|
* Use the right format modifier when comparing, and remove a couple ofnicm2019-06-15
| | | | unused variables.
* Do not loop forever if a menu item contains invisible characters,nicm2019-06-14
| | | | reported by Thomas Sattler.
* Show filename with -v for source-file.nicm2019-06-14
|
* A couple of minor parser changes around conditions: 1) only treat #{nicm2019-06-14
| | | | | specially after a condition, otherwise as a comment (which is more as most people expect) 2) allow formats to be quoted after a condition.
* Use the right client when working out where to save or load the buffer,nicm2019-06-13
| | | | reported by kn@.
* Do not crash if the environment variable is present but empty.nicm2019-06-13
|
* tweak previous;jmc2019-06-13
|
* Set the cursor x at the same time as changing the y or the end of linenicm2019-06-13
| | | | marker may not be redrawn.
* Add regular expression support for the format search, match andnicm2019-06-13
| | | | substitute modifiers.
* Do not use $TMUX to find the session because for windows in multiplenicm2019-06-12
| | | | | | sessions it is wrong as often as it is right, and for windows in one session it is pointless. Instead check TMUX_PANE to find the pane and look for the MRU session as usual. GitHub issue 1793.
* Pass target on to new commands with if -F.nicm2019-06-12
|
* 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.