aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_session.py
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 /tests/test_session.py
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 'tests/test_session.py')
-rw-r--r--tests/test_session.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_session.py b/tests/test_session.py
index 7138c6f..09edb49 100644
--- a/tests/test_session.py
+++ b/tests/test_session.py
@@ -16,7 +16,7 @@ import termios
import time
import uuid
-BIN = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "build", "sl0ptty")
+BIN = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "build", "sl0ppty")
fails = 0
@@ -33,7 +33,7 @@ def attach(name, cols=60, rows=12, inner=None):
pid, fd = pty.fork()
if pid == 0:
os.environ["TERM"] = "xterm-ghostty"
- os.environ["SL0PTTY_CONFIG"] = "/nonexistent/sl0ptty.kdl"
+ os.environ["SL0PPTY_CONFIG"] = "/nonexistent/sl0ppty.kdl"
args = [BIN, "-s", name]
if inner:
args += ["--"] + inner