aboutsummaryrefslogtreecommitdiff
path: root/window.c
Commit message (Collapse)AuthorAge
...
* | Do not hoke into struct window_pane from the tty code and instead setNicholas Marriott2020-05-01
| | | | | | | | | | | | everything up in tty_ctx. Provide a way to initialize the tty_ctx from a callback and use it to let popups draw directly through input_parse in the same way as panes do, rather than forcing a full redraw on every change.
* | Need to redraw borders now when some things change. Also change default so thatNicholas Marriott2020-04-29
| | | | | | | | the active border colour is different in a mode or with synchronize-panes on.
* | Drop having a separate type for style options and make them all strings, whichNicholas Marriott2020-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allows formats to be expanded. Any styles without a '#{' are still validated when they are set but any with a '#{' are not. Formats are not expanded usefully in many cases yet, that will be changed later. To make this work, a few other changes: - set-option -a with a style option automatically appends a ",". - OSC 10 and 11 don't set the window-style option anymore, instead the fg and bg are stored in the pane struct and act as the defaults that can be overridden by window-style. - status-fg and -bg now override status-style instead of trying to keep them in sync.
* | Use a grid cell not a style for the pane style.Nicholas Marriott2020-04-27
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-14
|\|
| * Make client -c and -t handling common in cmd-queue.c and try to benicm2020-04-13
| | | | | | | | | | clearer about whether the client is the target client (must have a session) or not.
* | Merge branch 'obsd-master'Thomas Adam2020-04-13
|\|
| * Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsnicm2020-04-13
| | | | | | | | use more clearly defined and preparation for some future work).
* | Merge branch 'obsd-master'Thomas Adam2020-04-13
|\|
| * Now that copy mode copies the pane content rather than keeping anicm2020-04-10
| | | | | | | | | | | | | | | | | | | | reference to it, it isn't necessary that the pane in copy mode is the same as the one copying from. Add a -s flag to copy-mode to specify a different pane for the source content. This means it is possible to view two places in a pane's history at the same time in different panes, or copy from a pane's history into an editor or shell in the same pane. From Anindya Mukherjee.
* | Merge branch 'obsd-master'Thomas Adam2020-04-09
|\|
| * Pass correct flags to fnmatch.nicm2020-04-09
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-06
|\|
| * Change copy mode to make copy of the pane history so it does not need tonicm2020-04-06
| | | | | | | | | | | | freeze updates (which does not play nicely with some applications, a longstanding problem) and will allow some other changes later. From Anindya Mukherjee.
* | Merge branch 'obsd-master'Thomas Adam2020-03-31
|\|
| * Move alternate screen into the screen rather than the pane.nicm2020-03-31
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-19
|\|
| * Change input path so it doesn't require a pane.nicm2020-03-19
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-16
|\|
| * FIx type for %u, from Thomas Adam.nicm2020-03-16
| |
* | Merge branch 'obsd-master'Thomas Adam2020-02-14
|\|
| * Fix top/bottom pane calculation with pane border status enabled,nicm2020-02-14
| | | | | | | | reported by Stanislav Spassov.
* | Merge branch 'obsd-master'Thomas Adam2020-01-13
|\|
| * Treat plausible but invalid keys (like C-BSpace) as literal like anynicm2020-01-13
| | | | | | | | | | other unrecognised string passed to send-keys. Reported by Anthony Sottile in GitHub issue 2049.
* | Merge branch 'obsd-master'Thomas Adam2019-12-12
|\|
| * Rewrite the code for reading and writing files. Now, if the client isnicm2019-12-12
| | | | | | | | | | | | | | | | | | 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.
* | Fix bad merge.Nicholas Marriott2019-11-28
| |
* | Merge branch 'obsd-master'Thomas Adam2019-11-28
|\|
| * Make a best effort to set xpixel and ypixel for each pane and addnicm2019-11-28
| | | | | | | | formats for them.
* | Merge branch 'obsd-master'Thomas Adam2019-10-28
|\|
| * Start with empty rather than NULL window name to avoid NULL printf ifnicm2019-10-28
| | | | | | | | window_name is evaluated early. Reported by Mikolaj Kucharski.
* | Merge branch 'obsd-master'Thomas Adam2019-09-11
|\|
| * Make client exit if pane where input is going is closed.nicm2019-09-10
| |
* | Merge branch 'obsd-master'Thomas Adam2019-08-28
|\|
| * The resize event was never deciding to actually resize the pane if therenicm2019-08-28
| | | | | | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2019-08-15
|\|
| * Add -Z flag to rotate-window, select-pane, swap-pane, switch-client tonicm2019-08-14
| | | | | | | | preserve zoomed state. GitHub issue 1839.
* | Merge branch 'obsd-master'Thomas Adam2019-06-30
|\|
| * Do not double free window if pane fails to start.nicm2019-06-30
| |
* | Merge branch 'obsd-master'Thomas Adam2019-06-26
|\|
| * Fix a typo in window_pane_find_down (w not wp) and a missing PANE_STATUS_TOP.nicm2019-06-26
| |
* | Merge branch 'obsd-master'Thomas Adam2019-06-26
|\|
| * Log window and pane resizes.nicm2019-06-26
| |
| * Add #define for the pane status line option position numbers.nicm2019-06-26
| |
* | Merge branch 'obsd-master'Thomas Adam2019-06-24
|\|
| * Trim trailing spaces when matching.nicm2019-06-24
| |
* | Merge branch 'obsd-master'Thomas Adam2019-06-20
|\|
| * allow-rename and alternate-screen can be pane options.nicm2019-06-20
| |
* | Merge branch 'obsd-master'Thomas Adam2019-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.