summaryrefslogtreecommitdiff
path: root/addons/pdf/pdf.script
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-06 11:38:06 -0300
committerGabriel Schneider <[email protected]>2026-11-06 12:03:00 -0300
commit0b4142e6704c851f395da2cd8b74954272dadf45 (patch)
tree48b4980d506de14fad672eb409827fcb372c6c31 /addons/pdf/pdf.script
parentf05c69380c8f23ab7dadb1c9d6240af687c88bed (diff)
downloadpardes-0b4142e6704c851f395da2cd8b74954272dadf45.tar.gz
pardes-0b4142e6704c851f395da2cd8b74954272dadf45.zip
kinds #19, the PDF's restored behaviours: a fling (a window's travel or more between frames) renders only the rows each page shows, on a 64-row grain, until a tick after it rests renders them whole, a partly landed page showing its paper under what it has; a wheel's amount scrolls its fraction of a row; the pointer is a hand over a link the resting pointer found; with no graphics the page's text layer is drawn, the moving keys and the wheel a page a step; pdf.script shows pictures, then the text layer
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'addons/pdf/pdf.script')
-rw-r--r--addons/pdf/pdf.script5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/pdf/pdf.script b/addons/pdf/pdf.script
index dbdbea33..be76f3a3 100644
--- a/addons/pdf/pdf.script
+++ b/addons/pdf/pdf.script
@@ -1,5 +1,6 @@
# 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
@@ -13,3 +14,7 @@ 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