summaryrefslogtreecommitdiff
path: root/test/daemon.py
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 21:19:47 -0300
committerGabriel Schneider <[email protected]>2026-11-04 21:20:02 -0300
commite67a1a561d9a9a7269bcc7c9af5678d3f50a95cb (patch)
tree195593cc6ae9d72fcd1e37f08637c5eb038920be /test/daemon.py
parentd6883afab40fb8cfcd40fc6abcde1aaf74b8b108 (diff)
downloadpardes-e67a1a561d9a9a7269bcc7c9af5678d3f50a95cb.tar.gz
pardes-e67a1a561d9a9a7269bcc7c9af5678d3f50a95cb.zip
main: the --tty flag again (it starts one shell pane in tty mode, the pane's raw mode, which the user keeps as tty, not the frontend): --tui and the old-flag case gone, the launch lines, the process runner's startTty and the cases' tty sessions as they were; the changelog says the frontend is the tui (-Dplatform=tui, src/tui/), the Tty builtin is Term and Tty still runs it; core, behaviour, fs-unit, pane and process tests (tui 36 of 36), all 113 snap scripts and the gui build pass
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/daemon.py')
-rw-r--r--test/daemon.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/daemon.py b/test/daemon.py
index 7db7e055..f3c927ad 100644
--- a/test/daemon.py
+++ b/test/daemon.py
@@ -1078,7 +1078,7 @@ def main(binary, cycles):
started = []
try:
term = Term()
- stub = term.spawn([binary, '--tui', '--9p=work'], env)
+ stub = term.spawn([binary, '--tty', '--9p=work'], env)
started.append(stub.pid)
sock = root / 'pardes-9p-work.sock'
wait_for('the session\'s 9P socket', sock.exists)
@@ -1181,7 +1181,7 @@ def main(binary, cycles):
term = Term()
stub_pid = root / 'stub.pid'
shell = term.spawn(['sh', '-c', '"$@" & echo $! > "$0"; wait; exec sleep 600',
- str(stub_pid), binary, '--tui', '--9p=fresh'], env)
+ str(stub_pid), binary, '--tty', '--9p=fresh'], env)
started.append(shell.pid)
sock = root / 'pardes-9p-fresh.sock'
wait_for('the second session', sock.exists)
@@ -1425,7 +1425,7 @@ def upgrades(old, new):
started = []
try:
term = Term()
- stub = term.spawn([str(binary), '--tui', '--9p=work'], env)
+ stub = term.spawn([str(binary), '--tty', '--9p=work'], env)
started.append(stub.pid)
sock = root / 'pardes-9p-work.sock'
wait_for('the session\'s 9P socket', sock.exists)
@@ -1610,7 +1610,7 @@ def upgrades(old, new):
time.sleep(.3)
assert alive(shell_pid) and alive(daemon)
term = Term()
- stub = term.spawn([str(binary), '--tui', '--9p=again'], env)
+ stub = term.spawn([str(binary), '--tty', '--9p=again'], env)
started.append(stub.pid)
sock = root / 'pardes-9p-again.sock'
wait_for('the next session', sock.exists)