summaryrefslogtreecommitdiff
path: root/test/snapshots/callstack-inline.snap
blob: 9acfa206615be59dd0661666638db3998d7d8f13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Inline remains an option; source colors, rounded guides and Look navigation are retained.
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
file setup.txt CallstackLayout inline\nmain.rs\n
start 40 110 setup.txt
wait 8000 CallstackLayout inline
key g g
key x
key tab
stable 300 10000
key esc
settle 100
key g g
key j
key home
key enter
wait 8000 add(1, 2)
stable 700 20000
key g c
wait 10000 Callstack
wait 10000 recursion
stable 700 15000
snap hierarchy
snapstyle 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