summaryrefslogtreecommitdiffstats
path: root/server-client.c
AgeCommit message (Collapse)Author
2022-05-30Spacing/style nits.nicm
2022-03-24Add a capability for OSC 7 and use it similarly to how the title is setnicm
(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. GitHubnicm
issue 3068.
2022-02-16Support more mouse buttons when the terminal sends them, GitHub issuenicm
3055.
2021-11-15Leave the hardware cursor at the position of the selected line in choosenicm
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.nicm
2021-10-11Make positions hidden by overlays range-based rather than character-based,nicm
from Anindya Mukherjee.
2021-09-27Do not call recalculate_sizes while clearing a client session because itnicm
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 ,nicm
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 andnicm
height, GitHub issue 2594.
2021-08-22Do not double free expanded path in source-file, also remove somenicm
unnecessary assignments.
2021-08-21Stop caring about empty commands, just treat as a null command.nicm
2021-08-20Remove some unnecessary blank lines.nicm
2021-08-20Remove stray spaces after function names.nicm
2021-08-13Add a menu when a popup is present (mouse only for now).nicm
2021-08-13Change focus to be driven by events rather than walking all panes at endnicm
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 tonicm
redraw. From Anindya Mukherjee .
2021-08-04Add a client-active hook, from ncfavier in GitHub issue 2803.nicm
2021-07-21Do not close popups on resize, instead adjust them to fit, from Anindyanicm
Mukherjee.
2021-06-10Improve logging of screen mode changes.nicm
2021-06-10Change resize timers and flags into one timer and a queue which isnicm
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.nicm
2021-04-12Add a flag to disable keys to close a message, GitHub issue 2625.nicm
2021-04-05Move client-detached into server_client_lost so it is fired even if anicm
client is closed unexpectedly.
2021-02-17Move the call to setupterm() into the client and have it pass thenicm
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 reusednicm
more easily.
2021-02-08Include "focused" in client flags, from Dan Aloni in GitHub issue 2558.nicm
2021-01-18Hide some warnings on newer GCC versions, GitHUb issue 2525.nicm
2020-12-03Redraw any visible modes when status line changes so that formats likenicm
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 withnicm
"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,nicm
GitHub issue 2372.
2020-10-30Add a -O flag to display-menu to change the mouse behaviour and notnicm
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,nicm
being the first client is enough. GitHub issue 2438.
2020-09-22Fix warnings on some platforms with %llx and add a new message to handlenicm
64-bit client flags.
2020-08-05Change searching to behave more like emacs and so that regex searchingnicm
doesn't overlap when searching forwards.
2020-07-06Add a way for control mode clients to subscribe to a format and benicm
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 innicm
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 secondsnicm
of data for each client in control mode.
2020-06-05Change how panes are resized so that the code is clearer and if the panenicm
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 controlnicm
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 controlnicm
mode %output blocks.
2020-06-01Check the right thing for maximum client buffer size.nicm
2020-06-01Instead of sending all data to control mode clients as fast as possible,nicm
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 usenicm
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 fornicm
non-control clients.
2020-05-24Give control code its own state struct.nicm
2020-05-24Now the tty has a pointer back to the client there is no point (and anicm
bit confusing) in it keeping a copy of the fd as well. Remove it.
2020-05-22FocusIn keys can also update the latest client, like normal keys.nicm
2020-05-22Move client offset stuff into control.c since only control clients willnicm
need it.
2020-05-21Support code for control mode flow control: allow clients to havenicm
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.