Skip to content

Instantly share code, notes, and snippets.

@telent
Created December 23, 2021 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save telent/336ed3450a46ff1feb874544cabe7d8b to your computer and use it in GitHub Desktop.
Save telent/336ed3450a46ff1feb874544cabe7d8b to your computer and use it in GitHub Desktop.
;; imagining that `data` exists only in the body
;; of this mac, so that it can't be called except
;; in the context of an active window
(with-window [10 10 80 80]
(data [0x00 0xff 0x00 0xff])
(print "doing stuff")
(data [0xff 0x00 0xff 0x00])
(something-else)
(data [0x00 0xff 0x00 0xff])
(data [0x77 0x77 0x77 0x77]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment