summaryrefslogtreecommitdiff
path: root/test/behaviour.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-03 17:09:37 -0300
committerGabriel Schneider <[email protected]>2026-11-03 17:14:31 -0300
commit4d4d9fcba44798340184f865d119e49c63709b70 (patch)
tree3ca041dd9ff0271b042357d65395a305f100152c /test/behaviour.zig
parent63e62131aaedb91a8fa995b8e00ced808e053519 (diff)
downloadpardes-4d4d9fcba44798340184f865d119e49c63709b70.tar.gz
pardes-4d4d9fcba44798340184f865d119e49c63709b70.zip
test: test/panes.zig's eight tag-navigation tests through the 9P tree alone (test/behaviour/tags.zig, guide.typ's Tags): s and S in a tag selecting its own text (a c changing both S's) while / searches the body (its +Search lists the match), ms and md read back from the tag file, the path the keyboard reaches, yanks (pasted into the body) and cannot edit, a name drafted by typing into it, a tag remembering its cursor across panes and a prompt, starting on Save and moved by a click, Tab and Enter from a tag giving the body the keyboard back (a Save counted, the next keys typed into the body), the cursor after a rename and a shorter tag, window keys from a tag, a tag's normal and insert modes; Session.cursor (the screen's cursor cell, read from /screen) and Session.replace (a write truncating first, a shell's >); each checked to fail against a break (a tag's s prompt answering for the body, ms closing a character early, a tag edit into the path taken, enterTag always landing on Save, a truncated tag's cursor left at 0, the execute key leaving the tag the keyboard, a tag the keyboard left keeping it)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/behaviour.zig')
-rw-r--r--test/behaviour.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behaviour.zig b/test/behaviour.zig
index 46fa8402..17d753fb 100644
--- a/test/behaviour.zig
+++ b/test/behaviour.zig
@@ -10,4 +10,5 @@ test {
_ = @import("behaviour/other_files.zig");
_ = @import("behaviour/panes.zig");
_ = @import("behaviour/root_ctl.zig");
+ _ = @import("behaviour/tags.zig");
}