summaryrefslogtreecommitdiff
path: root/test/snapshots/callstack.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-08 12:03:46 -0300
committerGabriel Schneider <[email protected]>2026-10-22 10:03:15 -0300
commit1ecb9b720840ea8e4753823fa8cddcf5d6a3a4d2 (patch)
tree973976c63f560201638d453b4b8b277d9cb40040 /test/snapshots/callstack.snap
parent13d5613b77c62c425c3a124a34c0c2528cc6251f (diff)
downloadpardes-1ecb9b720840ea8e4753823fa8cddcf5d6a3a4d2.tar.gz
pardes-1ecb9b720840ea8e4753823fa8cddcf5d6a3a4d2.zip
Add a readable static Callstack pane and align tagline text
Diffstat (limited to 'test/snapshots/callstack.snap')
-rw-r--r--test/snapshots/callstack.snap19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/snapshots/callstack.snap b/test/snapshots/callstack.snap
new file mode 100644
index 00000000..b32367af
--- /dev/null
+++ b/test/snapshots/callstack.snap
@@ -0,0 +1,19 @@
+# Static call hierarchy in a dedicated pane; sites and declarations are Look targets.
+file main.rs mod lib;\n\nfn main() {\n let x = add(1, 2);\n let y = add(3, 4);\n let _ = x + y;\n}\n
+file lib.rs // mock fixture\npub fn add(a: i32, b: i32) -> i32 {\n a + b\n}\n
+start 40 110 main.rs
+wait 8000 add(1, 2)
+stable 700 20000
+press left 13 6
+release left 13 6
+key g c
+wait 10000 Callstack
+wait 10000 recursion
+stable 700 15000
+snap hierarchy
+# LookNext selects the caller signature; Enter opens it in the source pane.
+key space j n
+key enter
+wait 10000 fn main
+stable 700 15000
+snap caller