summaryrefslogtreecommitdiff
path: root/test/snapshots/restore.snap
blob: 88eb47200db648cb69efe9a6c4f5e8f0422d2b53 (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
# Dump writes to the resolved dump path ($PARDES_DUMP here; a timestamped file
# under ~/.local/share/pardes in live runs) and the topbar grows Restore <path>;
# middle-click Restore loads that dump back into the live session: output on
# screen at Dump time survives (pty history), later output does not
start 30 100 -n 1
wait 8000 Kill Newcol
stable 700 20000
key c-b
stable 600 8000
text echo KEEP''ME
key enter
wait 8000 KEEPME
stable 700 10000
press middle 35 1
release middle 35 1
stable 700 10000
snap dumped
text echo GONE''SOON
key enter
wait 8000 GONESOON
stable 700 10000
press middle 41 1
release middle 41 1
stable 900 15000
snap restored