summaryrefslogtreecommitdiff
path: root/addons/pdf/pdf.script
blob: 60e4bfcab75964e10f264079552ee161aa8e48bb (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
# pardes --addon-test pdf.so addons/pdf/pdf.script | diff addons/pdf/pdf.out -
open docs/design.pdf
graphics on
size 60 20
key j
key 3j
key G
key gg
key 3gg
PdfFit
ctl
PdfTint full
ctl
PdfTint loud
key <esc>
dump
# a terminal without graphics: the page's text layer, a page a step
graphics off
key j
key 2k
# and as text, gj and gk a line, and a page at the window's edge
key 3gj
key gk
key 999gj
key gj