summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window.c
AgeCommit message (Collapse)Author
10 daysAdd two new style parameters, width and pad, which apply to scrollbars.Nicholas Marriott
From Michael Grant, GitHub issue 4241.
10 daysTurn off scrollbar when pane is in alternate screen, from Michael Grant,Nicholas Marriott
GitHub issue 4231.
2024-11-05Add support for a scrollbar at the side of each pane. New optionsNicholas Marriott
pane-scrollbars turn them on or off, pane-scrollbars-position sets the position (left or right), and pane-scrollbars-style to set the colours. Mouse support will come later. From Michael Grant in GitHub issue 4221.
2024-10-05Send focus events to pane when entering or leaving popup, GitHub issueNicholas Marriott
3991.
2024-10-01Use global cursor style and colour options for modes instead of default,Nicholas Marriott
GitHub issue 4117.
2024-10-01Change pasting to bypass the output key processing entirely and writeNicholas Marriott
what was originally received. Fixes problems with pasted text being interpreted as extended keys reported by Mark Kelly.
2024-08-26Add window_pane_mode helper function to tell if a pane is in copy mode,Nicholas Marriott
from Michael Grant.
2024-06-24Add a way (refresh-client -r) for control mode clients to provide OSC 10Nicholas Marriott
and 11 responses to tmux so they can set the default foreground and background colours, from George Nachman in GitHub issue 4014.
2024-04-10Do not get muddled and crash if focusing a pane that is exiting,Nicholas Marriott
reported by Saul Nogueras in GitHub issue 3776.
2024-03-21Do not notify window-layout-changed if the window is about to beNicholas Marriott
destroyed (since it may have been freed by the time the notify happens), from Romain Francoise in GitHub issue 3860.
2024-02-13Do not allow paste into panes which have exited, from Romain FrancoiseNicholas Marriott
in GitHub issue 3830.
2023-10-23Unzoom window at start of destroy so it doesn't happen later (whenNicholas Marriott
destroying panes) after the layout has been freed, GitHub issue 3717.
2023-07-10Use a stack for last panes line windows, from Thomas Bertschinger inNicholas Marriott
GitHub issue 3588.
2023-03-27Add a format to show if there are unseen changes while in a mode, fromNicholas Marriott
Dan Aloni in GitHub issue 3498.
2023-01-08Have client return 1 if process is interrupted to an input pane.Nicholas Marriott
2023-01-06If a pane is killed, cancel reading from the file. GitHub issue 3422.Nicholas Marriott
2022-08-24Check for NULL returns from bufferevent_new.Nicholas Marriott
2022-06-17Check cursor options when a pane is created, not just when they are changed.Nicholas Marriott
2022-05-30Spacing/style nits.Nicholas Marriott
2022-03-16Add an option to set the character used for unused areas of theNicholas Marriott
terminal, GitHub issue 3110.
2022-02-03Update focus when active pane changes after pane destroyed.Nicholas Marriott
2021-10-07Handle splitw -I correctly when used from an attached client, GitHubNicholas Marriott
issue 2917.
2021-08-27Allow control mode clients to set a hard limit on the window width andNicholas Marriott
height, GitHub issue 2594.
2021-08-20Fill colour palette correctly from option for new panes, GitHub issueNicholas Marriott
2831.
2021-08-13Change focus to be driven by events rather than walking all panes at endNicholas Marriott
of event loop, this way the ordering of in and out can be enforced. GitHub issue 2808.
2021-08-11Break the colour palette into a struct rather than just a single arrayNicholas Marriott
and use that to support the OSC palette-setting sequences in popups. Also add a pane-colours array option to specify the defaults. GitHub issue 2815.
2021-06-10Change resize timers and flags into one timer and a queue which isNicholas Marriott
simpler and fixes problems with vim when resized multiple times. GitHub issue 2677.
2021-06-10Include current client in size calculation for new sessions, GitHubNicholas Marriott
issue 2662.
2021-03-11Add split-window -Z to start the pane zoomed, GitHub issue 2591.Nicholas Marriott
2021-02-22There are many format variables now so allocating all the default onesNicholas Marriott
each time a tree is created is too expensive. Instead, convert them all into callbacks and put them in a static table so they only allocate on demand. The tree remains for the moment for extra (non-default) variables added by for example copy mode or popups. Also reduce expensive calls to localtime_r/strftime. GitHub issue 2253.
2021-01-20Change so that window_flags escapes # automatically which means configsNicholas Marriott
will not have to change. A new format window_raw_flags contains the old unescaped version.
2020-12-15Make synchronize-panes a pane option and add -U flag to set-option toNicholas Marriott
unset an option on all panes. GitHub issue 2491 from Rostislav Nesin.
2020-06-13Add -b flags to insert a window before (like the existing -a for after)Nicholas Marriott
to break-pane, move-window, new-window. GitHub issue 2261.
2020-06-05Change how panes are resized so that the code is clearer and if the paneNicholas Marriott
is resized multiple times during one event loop, it is forced to resize at the end. Also don't zoom/unzoom in switch-client if the pane hasn't changed. GitHub issue 2260.
2020-06-01Instead of sending all data to control mode clients as fast as possible,Nicholas Marriott
add a limit of how much data will be sent to the client and try to use it for panes with some degree of fairness. GitHub issue 2217, with George Nachman.
2020-05-21Support code for control mode flow control: allow clients to haveNicholas Marriott
separate offsets (used and acknowleged) into the pane buffers; turn off reading from panes when no clients can accept the data; and add a -A flag to refresh-client to let clients turn receiving a pane on and off.
2020-05-16Move lazy resize from the pane to the window, there is no point inNicholas Marriott
resizing the window unless it is the current window, and if we do and don't resize the pane until later there are problems if the size changes from A to B then back to A.
2020-05-16Separate key flags and modifiers, log key flags, make the "xterm" flagNicholas Marriott
more explicit and fix M- keys with a leading escape.
2020-05-16Do not hoke into struct window_pane from the tty code and instead setNicholas Marriott
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.
2020-05-16Drop having a separate type for style options and make them all strings,Nicholas Marriott
which 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.
2020-05-16Use a grid cell not a style for the pane style.Nicholas Marriott
2020-04-13Make client -c and -t handling common in cmd-queue.c and try to beNicholas Marriott
clearer about whether the client is the target client (must have a session) or not.
2020-04-13Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsNicholas Marriott
use more clearly defined and preparation for some future work).
2020-04-10Now that copy mode copies the pane content rather than keeping aNicholas Marriott
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.
2020-04-09Pass correct flags to fnmatch.Nicholas Marriott
2020-04-06Change copy mode to make copy of the pane history so it does not need toNicholas Marriott
freeze updates (which does not play nicely with some applications, a longstanding problem) and will allow some other changes later. From Anindya Mukherjee.
2020-03-31Move alternate screen into the screen rather than the pane.Nicholas Marriott
2020-03-31Detach reply escape sequences from the pane so they work in popups.Nicholas Marriott
2020-03-19Change input path so it doesn't require a pane.Nicholas Marriott
2020-03-16FIx type for %u, from Thomas Adam.Nicholas Marriott