summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server-client.c
AgeCommit message (Collapse)Author
2022-07-19Do not ignore the "off" flag when checking if a pane should be stopped,Nicholas Marriott
GitHub issue 3250.
2022-07-06Defer reading from control client until the command line command hasNicholas Marriott
completed.
2022-05-30Spacing/style nits.Nicholas Marriott
2022-05-30Add an ACL list for users connecting to the tmux socket. Users may beNicholas Marriott
forbidden from attaching, forced to attach read-only, or allowed to attach read-write. A new command, server-access, configures the list. tmux gets the user using getpeereid(3) of the client socket. Users must still configure file system permissions manually. From Dallas Lyons and others.
2022-03-24Add a capability for OSC 7 and use it similarly to how the title is setNicholas Marriott
(and controlled by the same set-titles option). GitHub issue 3127.
2022-03-08Add argument to refresh-client -l to forward clipboard to a pane. GitHubNicholas Marriott
issue 3068.
2022-02-16Support more mouse buttons when the terminal sends them, GitHub issueNicholas Marriott
3055.
2021-11-15Leave the hardware cursor at the position of the selected line in chooseNicholas Marriott
modes and current editing position and at the command prompt. It is invisible but this is helpful for people using screen readers. GitHub issue 2970.
2021-10-28Allow detach even if suspend flag set, GitHub issue 2932.Nicholas Marriott
2021-10-11Make positions hidden by overlays range-based rather than character-based,Nicholas Marriott
from Anindya Mukherjee.
2021-09-27Do not call recalculate_sizes while clearing a client session because itNicholas Marriott
needs to loop over the clients, instead do it after all clients are cleared. Fixes a crash reported by martijn@ when a session with multiple clients attached is destroyed, but there are other sessions so tmux does not entirely exit. ok deraadt
2021-08-27Replace %% in command lists (by copying them) for template arguments ,Nicholas Marriott
this means they can be used with {} as well. Also make argument processing from an existing vector preserve commands. GitHub issue 2858.
2021-08-27Allow control mode clients to set a hard limit on the window width andNicholas Marriott
height, GitHub issue 2594.
2021-08-22Do not double free expanded path in source-file, also remove someNicholas Marriott
unnecessary assignments.
2021-08-21Stop caring about empty commands, just treat as a null command.Nicholas Marriott
2021-08-20Remove some unnecessary blank lines.Nicholas Marriott
2021-08-20Remove stray spaces after function names.Nicholas Marriott
2021-08-13Add a menu when a popup is present (mouse only for now).Nicholas Marriott
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-05Do not freeze output in panes when a popup is open, let them continue toNicholas Marriott
redraw. From Anindya Mukherjee .
2021-08-04Add a client-active hook, from ncfavier in GitHub issue 2803.Nicholas Marriott
2021-07-21Do not close popups on resize, instead adjust them to fit, from AnindyaNicholas Marriott
Mukherjee.
2021-06-10Improve logging of screen mode changes.Nicholas Marriott
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-10Adjust latest client when a client detaches, GitHub issue 2657.Nicholas Marriott
2021-04-12Add a flag to disable keys to close a message, GitHub issue 2625.Nicholas Marriott
2021-04-05Move client-detached into server_client_lost so it is fired even if aNicholas Marriott
client is closed unexpectedly.
2021-02-17Move the call to setupterm() into the client and have it pass theNicholas Marriott
results to the server over imsg, means the server does not need to enter ncurses or read terminfo db. Old clients will not work with a new server.
2021-02-11Move file handling protocol stuff all into file.c so it can be reusedNicholas Marriott
more easily.
2021-02-08Include "focused" in client flags, from Dan Aloni in GitHub issue 2558.Nicholas Marriott
2021-01-18Hide some warnings on newer GCC versions, GitHUb issue 2525.Nicholas Marriott
2020-12-03Redraw any visible modes when status line changes so that formats likeNicholas Marriott
the pane title are updated. GitHub issue 2487. Also a man page fix from jmc.
2020-10-30With csh, a tmux client gets SIGTERM before SIGCONT when killed withNicholas Marriott
"kill %%", so when the client tells the server it got SIGCONT, don't use bits that may already have been freed when it got SIGTERM. Also don't print anything on exit if we get SIGTERM while suspended. Reported by Theo.
2020-10-30There is no reason not to fire focus events when a pane is in a mode,Nicholas Marriott
GitHub issue 2372.
2020-10-30Add a -O flag to display-menu to change the mouse behaviour and notNicholas Marriott
close the menu when the mouse is released, from teo_paul1 at yahoo dot com.
2020-10-28Do not require that there be no other clients before loading the config,Nicholas Marriott
being the first client is enough. GitHub issue 2438.
2020-09-22Fix warnings on some platforms with %llx and add a new message to handleNicholas Marriott
64-bit client flags.
2020-08-05Change searching to behave more like emacs and so that regex searchingNicholas Marriott
doesn't overlap when searching forwards.
2020-07-06Add a way for control mode clients to subscribe to a format and beNicholas Marriott
notified of changes rather than having to poll. GitHub issue 2242.
2020-06-18Add a flag to make a client wait for an empty line before exiting inNicholas Marriott
control mode to avoid stray commands ending up in the shell.
2020-06-10Instead of a buffer size limit on each pane, set a limit of 300 secondsNicholas Marriott
of data for each client in control mode.
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-05Add support for pausing a pane when the output buffered for a controlNicholas Marriott
mode client gets too far behind. The pause-after flag with a time is set on the pane with refresh-client -f and a paused pane may be resumed with refresh-client -A. GitHub issue 2217.
2020-06-02Use CLOCK_MONOTONIC for timer measurement and add a timestamp to controlNicholas Marriott
mode %output blocks.
2020-06-01Check the right thing for maximum client buffer size.Nicholas Marriott
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-26Pass the stdout file descriptor from the client as well as stdin and useNicholas Marriott
them for control clients directly instead of passing everything via the client.
2020-05-24Remove leftover call to control_free_offsets and do not use forNicholas Marriott
non-control clients.
2020-05-24Give control code its own state struct.Nicholas Marriott
2020-05-24Now the tty has a pointer back to the client there is no point (and aNicholas Marriott
bit confusing) in it keeping a copy of the fd as well. Remove it.