summaryrefslogtreecommitdiff
path: root/test/selfmount.py
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 20:54:21 -0300
committerGabriel Schneider <[email protected]>2026-11-04 21:12:33 -0300
commit0ff1fc99eb870f8a1e714a71c1a853066737c822 (patch)
tree2c8b4720e2ed190e6f9062cfe8586c3da22aeb42 /test/selfmount.py
parent3b082687c7da1c5d8cc52c71fdf4ddd38d860cd8 (diff)
downloadpardes-0ff1fc99eb870f8a1e714a71c1a853066737c822.tar.gz
pardes-0ff1fc99eb870f8a1e714a71c1a853066737c822.zip
rename: the terminal frontend is the tui (-Dplatform=tui, src/tui/tui.zig, --tui with --tty kept as its old spelling, the process tests' backend .tui and --backend=tui, docs/typ/builtins-tui.json, the Settings report's platform), and the builtin Tty is Term (its registry entry, SPC n t, every default tag, the docs, tests and snap scripts), Tty still run as Term through exec.acme_words, Tty+fish too on a tag and a ctl; tty as a pane's raw mode and as the OS's terminal unchanged
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/selfmount.py')
-rw-r--r--test/selfmount.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/selfmount.py b/test/selfmount.py
index 61d32523..1df17226 100644
--- a/test/selfmount.py
+++ b/test/selfmount.py
@@ -37,7 +37,7 @@ def unix_mount(ns, binary, served, env, name, fixture):
env = dict(env, PARDES_DUMP=f'/tmp/{second}.dump.zon')
pid, master = pty.fork()
if pid == 0:
- os.execve(ns, ['9ns', '--unix', served, '--', binary, '--tty', '--9p=' + second, str(fixture)], env)
+ os.execve(ns, ['9ns', '--unix', served, '--', binary, '--tui', '--9p=' + second, str(fixture)], env)
fcntl.ioctl(master, termios.TIOCSWINSZ, struct.pack('HHHH', 30, 100, 0, 0))
os.set_blocking(master, False)
try:
@@ -83,7 +83,7 @@ def run(binary):
env['PARDES_LSP_' + language] = ''
pid, master = pty.fork()
if pid == 0:
- os.execve(ns, ['9ns', '--mntgen', '--', binary, '--tty', '--9p=' + name, str(fixture)], env)
+ os.execve(ns, ['9ns', '--mntgen', '--', binary, '--tui', '--9p=' + name, str(fixture)], env)
fcntl.ioctl(master, termios.TIOCSWINSZ, struct.pack('HHHH', 30, 100, 0, 0))
os.set_blocking(master, False)
tail = bytearray()
@@ -276,7 +276,7 @@ def run(binary):
other_env = dict(env, PARDES_DUMP=f'/tmp/{other}.dump.zon')
other_pid, other_master = pty.fork()
if other_pid == 0:
- os.execve(binary, [binary, '--tty', '--9p=' + other], other_env)
+ os.execve(binary, [binary, '--tui', '--9p=' + other], other_env)
os.set_blocking(other_master, False)
deadline = time.monotonic() + 15
while not os.path.exists(other_sock) and time.monotonic() < deadline: