summaryrefslogtreecommitdiff
path: root/test/record_demos.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/record_demos.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/record_demos.py')
-rw-r--r--test/record_demos.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/record_demos.py b/test/record_demos.py
index a2e48d73..4468ffb6 100644
--- a/test/record_demos.py
+++ b/test/record_demos.py
@@ -220,7 +220,7 @@ class Session:
def terminal_rows(self):
"""The screen's rows below the (one) terminal's tag."""
rows = self.screen()
- return rows[next(i for i, line in enumerate(rows) if 'Tty+sh' in line) + 1:]
+ return rows[next(i for i, line in enumerate(rows) if 'Term+sh' in line) + 1:]
def wait(self, predicate, what, seconds=20):
deadline = time.monotonic() + seconds
@@ -594,7 +594,7 @@ def text_is_the_interface(s):
def shell_setup(s):
"""A terminal under the file, at the project, with a short prompt."""
- s.write('/pane/1/exec', 'Tty\n')
+ s.write('/pane/1/exec', 'Term\n')
s.wait(lambda: 2 in s.panes(), 'the terminal')
s.write('/pane/2/pty/data', f"cd {PROJECT}; PS1='$ '; clear\r")
s.wait(lambda: any(line.rstrip() == ' $' for line in s.screen()), 'the prompt')
@@ -844,7 +844,7 @@ def theme_scene(s):
subprocess.run(['git', '-C', str(PROJECT), *args], check=True, env=env, capture_output=True)
main = PROJECT / 'src/main.c'
main.write_text(main.read_text().replace('i <= 4', 'i <= 5'))
- s.write('/pane/1/exec', 'Tty\n')
+ s.write('/pane/1/exec', 'Term\n')
s.wait(lambda: 2 in s.panes(), 'the terminal')
s.write('/pane/2/pty/data', f"cd {PROJECT}; PS1='$ '; clear; make; git diff\r")
s.wait(lambda: len(s.panes()) == 3, 'the pager')