aboutsummaryrefslogtreecommitdiff
path: root/server.h (unfollow)
Commit message (Collapse)AuthorLines
2025-07-30server: sigusr1/2: update conf object with the "new" themeDaniel Eklöf-1/+4
When sending SIGUSR1/SIGUSR2 to a server process, all currently running client instances change their theme. But before this patch, all future instances used the original theme. With this patch, the server owned config object is updated with the selected theme, thus making new instances use the same theme as well.
2022-02-09config: move structs and enums used by config from terminal.h -> config.hDaniel Eklöf-0/+1
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-5/+1
Assume it could be a copy-paste typo. We should check PRIMARY, not CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything to CLIPBOARD.
2020-05-21term: don't double fork new terminal windowsDaniel Eklöf-1/+2
Instead, register their PIDs with the new reaper module and let it handle them.
2019-11-01server: implement a --server modeDaniel Eklöf-0/+9
In this mode, foot listens on a UNIX socket and creates terminal windows when clients connect. A connecting client sends argc/argv to the server, and the server instantiates a new terminal window. When the terminal window is closed, the exit code is sent back to the client.