summaryrefslogtreecommitdiff
path: root/test/appearance_gallery.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/appearance_gallery.py')
-rw-r--r--test/appearance_gallery.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/appearance_gallery.py b/test/appearance_gallery.py
index 0fa12136..48c0ea1b 100644
--- a/test/appearance_gallery.py
+++ b/test/appearance_gallery.py
@@ -82,7 +82,7 @@ def run(args):
right = require(wait_for(lambda: next((s for s in panes(client) if s not in before), None)), 'right column missing')
client.write(f'/pane/{right}/name', f'{root / "Review"}\n'.encode())
client.write(f'/pane/{right}/body', PREFERENCE_NOTES if args.theme_selector else NOTES, truncate=True)
- client.write(f'/pane/{right}/ctl', b'clean\n')
+ client.write(f'/pane/{right}/dirty', b'0\n')
before = set(panes(client))
command(client, right, 'Tty')
terminal = require(wait_for(lambda: next((s for s in panes(client) if s not in before), None)), 'terminal missing')
@@ -94,12 +94,12 @@ def run(args):
command(client, right, 'Config')
pane = require(wait_for(lambda: next((s for s in panes(client) if s not in before), None)), 'Config output missing')
text = client.read(f'/pane/{pane}/body').decode()
- client.write(f'/pane/{pane}/ctl', b'exec Del\n')
+ client.write(f'/pane/{pane}/exec', b'Del\n')
return text
settings = config_report()
- require('Font effective size: 18.00 pixels' in settings, 'configured font size not applied: ' + settings)
- require('TaglineSize: 80' in settings, 'configured tag size missing')
+ require('Font effective size 18.00 pixels' in settings, 'configured font size not applied: ' + settings)
+ require('TaglineSize 80' in settings, 'configured tag size missing')
(root / 'effective-config.txt').write_text(settings)
report['font_effective_pixels'] = 18
report['tagline_percent'] = 80
@@ -135,7 +135,7 @@ def run(args):
command(client, right, 'Theme ' + theme)
if args.theme_selector:
# Keep both quiet active gutter ink and vivid comments in view.
- client.write(f'/pane/{source}/ctl', f'look {source_path}:117\n'.encode())
+ client.write(f'/pane/{source}/look', f'{source_path}:117\n'.encode())
take_frame('classic-' + theme)
if args.theme_selector:
frame = client.screen()
@@ -171,14 +171,14 @@ def run(args):
'ThemeSel did not open at native first entry')
take_frame('theme-selector')
report['native_themes_first'] = True
- client.write(f'/pane/{selector}/ctl', b'exec Del\n')
+ client.write(f'/pane/{selector}/exec', b'Del\n')
command(client, terminal, 'Collapse')
for pet in (() if args.skip_pets else ('cat', 'frog', 'off')):
command(client, right, 'Pet ' + pet)
settings = config_report()
require('Pet: ' + pet + '\n' in settings, 'pet setting not applied')
# Returning focus to the source closes all transient report state.
- client.write(f'/pane/{source}/ctl', f'look {source_path}:1\n'.encode())
+ client.write(f'/pane/{source}/look', f'{source_path}:1\n'.encode())
take_frame('pet-' + pet)
if pet != 'off':
frame = client.screen()