summaryrefslogtreecommitdiff
path: root/test/behaviour/modes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/behaviour/modes.zig')
-rw-r--r--test/behaviour/modes.zig5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/behaviour/modes.zig b/test/behaviour/modes.zig
index dde3ffb6..06bcac98 100644
--- a/test/behaviour/modes.zig
+++ b/test/behaviour/modes.zig
@@ -34,10 +34,9 @@ test "modes: Esc in a column or the workspace tag gives the keyboard back to a p
_ = try s.newPane();
for ([_][]const u8{ "New Tty", "Newcol" }) |tag| {
const was = try s.focused();
- // A click types into the tag; Esc is normal mode there, the next
- // one is out of it.
+ // A click puts the tag in normal mode, the keyboard there; Esc is
+ // out of it.
try s.click(tag, 0, 1);
- try s.keys("\x1b");
try s.expect("/focus", "");
try s.keys("\x1b");
try std.testing.expect(was != try s.focused());