aboutsummaryrefslogtreecommitdiff
path: root/server.h (follow)
Commit message (Collapse)AuthorAgeLines
* server: sigusr1/2: update conf object with the "new" themeDaniel Eklöf2025-07-30-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.
* config: move structs and enums used by config from terminal.h -> config.hDaniel Eklöf2022-02-09-0/+1
|
* term: don't double fork new terminal windowsDaniel Eklöf2020-05-21-1/+2
| | | | | Instead, register their PIDs with the new reaper module and let it handle them.
* server: implement a --server modeDaniel Eklöf2019-11-01-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.