aboutsummaryrefslogtreecommitdiffstats
path: root/src/expr.h
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-18 21:26:00 +0200
committeruser <user@clank>2026-08-18 21:26:00 +0200
commitb9e53cace4eb75263077df8623b011e66f5f2241 (patch)
tree78e4dfb23f5d1881dc7bfe9e4c96fd543bdfab0b /src/expr.h
parentsl0ppty: aim the top handle at the middle, and stop ruling through the row (diff)
downloadslosh-b9e53cace4eb75263077df8623b011e66f5f2241.tar.gz
slosh-b9e53cace4eb75263077df8623b011e66f5f2241.tar.xz
slosh-b9e53cace4eb75263077df8623b011e66f5f2241.zip
slosh: rename the project from sl0ppty
sl0p + pty was error-prone to type and the zero made it worse; slosh (slop + sh) is one syllable, impossible to typo, and slosh.foo is ours. Mechanical rename everywhere it appears: binary, env vars (SLOSH, SLOSH_SESSION, SLOSH_BIN, SLOSH_CONFIG), socket dir (/tmp/slosh-<uid>, $XDG_RUNTIME_DIR/slosh), config path (~/.config/slosh), header guards, src/sl0ppty.h -> src/slosh.h, contrib/sl0ppty-dev -> contrib/slosh-dev, the driving-slosh skill, docs and tests. The sl0ppi fork references and the sl0p theme stay: one is history, the other is the brand. The rename surfaced a latent bug in test_osc5577: the hello-reply answer always appeared on screen twice (ECHOCTL echo plus cat -v), but a seven-character implementation name happened to wrap the second copy across the 60-column boundary, so counting substrings in wrapped text found one and passed for the wrong reason. A five-character name moved the wrap and exposed it. The loop guard itself is correct -- with echo off before the request there is exactly one reply -- so the test now counts on de-wrapped text and tolerates the pane's own echo.
Diffstat (limited to 'src/expr.h')
-rw-r--r--src/expr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/expr.h b/src/expr.h
index 6508ec7..c409ded 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -33,8 +33,8 @@
* rather than a trap: an expression that is wrong should look wrong, not take
* the session with it.
*/
-#ifndef SL0PPTY_EXPR_H
-#define SL0PPTY_EXPR_H
+#ifndef SLOSH_EXPR_H
+#define SLOSH_EXPR_H
#include <stdbool.h>
#include <stddef.h>
@@ -88,4 +88,4 @@ int expr_eval(const expr_prog_t *p, const expr_env_t *env);
* case there is nothing to reuse. */
bool expr_amount_map(expr_prog_t *p, const expr_env_t *env, uint8_t **out);
-#endif /* SL0PPTY_EXPR_H */
+#endif /* SLOSH_EXPR_H */