summaryrefslogtreecommitdiff
path: root/test/snapshots/restore.snap
blob: 73f5c8ecf7f3e0bea02fd72ec6339c181193dd94 (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 31 100 -n 1
wait 8000 Newcol Joincol
stable 700 20000
key c-b
stable 600 8000
text echo KEEP''ME
key enter
wait 8000 KEEPME
stable 700 10000
press middle @Dump 1
release middle @Dump 1
stable 700 10000
snap dumped
text echo GONE''SOON
key enter
wait 8000 GONESOON
stable 700 10000
press middle @Restore 1
release middle @Restore 1
stable 900 15000
snap restored