summaryrefslogtreecommitdiffstats
path: root/window.c
AgeCommit message (Collapse)Author
2020-02-14Merge branch 'obsd-master'Thomas Adam
2020-02-14Fix top/bottom pane calculation with pane border status enabled,nicm
reported by Stanislav Spassov.
2020-01-13Merge branch 'obsd-master'Thomas Adam
2020-01-13Treat plausible but invalid keys (like C-BSpace) as literal like anynicm
other unrecognised string passed to send-keys. Reported by Anthony Sottile in GitHub issue 2049.
2019-12-12Merge branch 'obsd-master'Thomas Adam
2019-12-12Rewrite the code for reading and writing files. Now, if the client isnicm
not attached, the server process asks it to open the file, similar to how works for stdin, stdout, stderr. This makes special files like /dev/fd/X work (used by some shells). stdin, stdout and stderr and control mode are now just special cases of the same mechanism. This will also make it easier to use for other commands that read files such as source-file.
2019-11-28Fix bad merge.Nicholas Marriott
2019-11-28Merge branch 'obsd-master'Thomas Adam
2019-11-28Make a best effort to set xpixel and ypixel for each pane and addnicm
formats for them.
2019-10-28Merge branch 'obsd-master'Thomas Adam
2019-10-28Start with empty rather than NULL window name to avoid NULL printf ifnicm
window_name is evaluated early. Reported by Mikolaj Kucharski.
2019-09-11Merge branch 'obsd-master'Thomas Adam
2019-09-10Make client exit if pane where input is going is closed.nicm
2019-08-28Merge branch 'obsd-master'Thomas Adam
2019-08-28The resize event was never deciding to actually resize the pane if therenicm
was output in the pane faster than the timer would fire, so change how it works to only defer the timer again if the pane was actually resized within the last timer period. Reported by James Tai in GitHub issue 1880.
2019-08-15Merge branch 'obsd-master'Thomas Adam
2019-08-14Add -Z flag to rotate-window, select-pane, swap-pane, switch-client tonicm
preserve zoomed state. GitHub issue 1839.
2019-06-30Merge branch 'obsd-master'Thomas Adam
2019-06-30Do not double free window if pane fails to start.nicm
2019-06-26Merge branch 'obsd-master'Thomas Adam
2019-06-26Fix a typo in window_pane_find_down (w not wp) and a missing PANE_STATUS_TOP.nicm
2019-06-26Merge branch 'obsd-master'Thomas Adam
2019-06-26Log window and pane resizes.nicm
2019-06-26Add #define for the pane status line option position numbers.nicm
2019-06-24Merge branch 'obsd-master'Thomas Adam
2019-06-24Trim trailing spaces when matching.nicm
2019-06-20Merge branch 'obsd-master'Thomas Adam
2019-06-20Merge branch 'obsd-master'Thomas Adam
2019-06-20allow-rename and alternate-screen can be pane options.nicm
2019-06-20Add a per-pane option set. Pane options inherit from window options (sonicm
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.
2019-06-18Merge branch 'obsd-master'Thomas Adam
2019-06-18Add a cmdq_continue function rather than twiddling the flag directly.nicm
2019-06-14Merge branch 'obsd-master'Thomas Adam
2019-06-13Add regular expression support for the format search, match andnicm
substitute modifiers.
2019-06-09Merge branch 'obsd-master'Thomas Adam
2019-06-09Exiting alternate screen mode should restore cursor position andnicm
attributes even if already outside alternate screen mode. GitHub issue 1789.
2019-05-30Merge branch 'obsd-master'Thomas Adam
2019-05-30Remove a leftover abort and some fixes from cppcheck.nicm
2019-05-07Merge branch 'obsd-master'Thomas Adam
2019-05-07Do not use evbuffer_add_buffer because it is destructive and doesn'tnicm
work in newer libevent.
2019-05-03Merge branch 'obsd-master'Thomas Adam
2019-05-03Allow panes to be empty (no command), output can be piped to them withnicm
split-window or display-message -I.
2019-04-26Merge branch 'obsd-master'Thomas Adam
2019-04-26Destroy panes before options to avoid crash when forced into a mode by anicm
hook.
2019-04-17Break new window and pane creation common code from various commands andnicm
window.c into a separate file spawn.c.
2019-04-07Break new window and pane creation common code from various commands andNicholas Marriott
window.c into a separate file spawn.c.
2019-03-19Merge branch 'obsd-master'Thomas Adam
2019-03-18Free temporary screens when writing format.nicm
2019-03-18Merge branch 'obsd-master'Thomas Adam
2019-03-18Extend the #[] style syntax and use that together with previous formatnicm
changes to allow the status line to be entirely configured with a single option. Now that it is possible to configure their content, enable the existing code that lets the status line be multiple lines in height. The status option can now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to configure more than one line. The new status-format array option configures the format of each line, the default just references the existing status-* options, although some of the more obscure status options may be eliminated in time. Additions to the #[] syntax are: "align" to specify alignment (left, centre, right), "list" for the window list and "range" to configure ranges of text for the mouse bindings. The "align" keyword can also be used to specify alignment of entries in tree mode and the pane status lines.