diff options
| author | user <user@clank> | 2026-08-14 12:13:18 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-14 12:13:18 +0200 |
| commit | 20f269a0cdf65f196aea09f0279f5927f26d8192 (patch) | |
| tree | cc0c10c3556b36d0234a64acf1a48da356a4a212 /src/server.h | |
| parent | sl0ptty: kitty graphics passthrough (diff) | |
| download | slosh-20f269a0cdf65f196aea09f0279f5927f26d8192.tar.gz slosh-20f269a0cdf65f196aea09f0279f5927f26d8192.tar.xz slosh-20f269a0cdf65f196aea09f0279f5927f26d8192.zip | |
sl0ppty: rename from sl0ptty
A pty is a pseudo-terminal, and that is what this multiplexes: the extra t
was never standing for anything. Renaming now, while the only users are the
people who typed the old name on purpose, is cheaper than renaming later.
Mechanical, but not only cosmetic. The name is also the runtime contract, so
this moves $SL0PTTY and $SL0PTTY_CONFIG, ~/.config/sl0ptty/config.kdl, the
socket directory ($XDG_RUNTIME_DIR/sl0ptty, /tmp/sl0ptty-<uid>), and the
identity string a program gets back from an OSC 5577 hello. A session left
running under the old binary keeps its old socket directory and is invisible
to the new one; there is no migration and it does not seem worth writing one.
The sl0ppi fork keeps its name: it is a different thing, and D1 still points
at it.
Diffstat (limited to 'src/server.h')
| -rw-r--r-- | src/server.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server.h b/src/server.h index e2b9224..ac86e86 100644 --- a/src/server.h +++ b/src/server.h @@ -1,11 +1,11 @@ /* Server and client entry points. See proto.h for the wire. */ -#ifndef SL0PTTY_SERVER_H -#define SL0PTTY_SERVER_H +#ifndef SL0PPTY_SERVER_H +#define SL0PPTY_SERVER_H #include <stdbool.h> #include <stdint.h> -#include "sl0ptty.h" +#include "sl0ppty.h" /* Run the session in this process (the daemonised half). */ int server_run(const char *name, const char *const argv[], uint16_t cols, @@ -19,4 +19,4 @@ int server_connect(const char *name); int client_run(int fd); int client_control(int fd, const char *line); -#endif /* SL0PTTY_SERVER_H */ +#endif /* SL0PPTY_SERVER_H */ |
