aboutsummaryrefslogtreecommitdiffstats
path: root/src/jsonval.h
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-14 12:13:18 +0200
committeruser <user@clank>2026-08-14 12:13:18 +0200
commit20f269a0cdf65f196aea09f0279f5927f26d8192 (patch)
treecc0c10c3556b36d0234a64acf1a48da356a4a212 /src/jsonval.h
parentsl0ptty: kitty graphics passthrough (diff)
downloadslosh-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/jsonval.h')
-rw-r--r--src/jsonval.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jsonval.h b/src/jsonval.h
index 34cc597..53f1fe1 100644
--- a/src/jsonval.h
+++ b/src/jsonval.h
@@ -1,8 +1,8 @@
/* A small JSON reader, for the control API (D3). We already emit JSON; this
* is the other half. Deliberately minimal: no streaming, no comments, no
* duplicate-key policy beyond "last wins". */
-#ifndef SL0PTTY_JSONVAL_H
-#define SL0PTTY_JSONVAL_H
+#ifndef SL0PPTY_JSONVAL_H
+#define SL0PPTY_JSONVAL_H
#include <stdbool.h>
#include <stddef.h>
@@ -37,4 +37,4 @@ const char *jv_gets(const jv_t *obj, const char *key, const char *fallback);
long jv_geti(const jv_t *obj, const char *key, long fallback);
bool jv_getb(const jv_t *obj, const char *key, bool fallback);
-#endif /* SL0PTTY_JSONVAL_H */
+#endif /* SL0PPTY_JSONVAL_H */