mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 17:32:11 +03:00
7ab6d7dc9c
Only detects mouse clicks. Though, "9" mode seems broken, or unsupported or something? Probably need to upgrade to "1000" mode or higher, but that also reports scrolling events and such, which don't want to steal from the context we're running in just yet.
31 lines
472 B
Plaintext
31 lines
472 B
Plaintext
:: belt: runtime belt structure
|
|
::
|
|
|_ =belt:dill
|
|
++ grad %noun
|
|
:: +grab: convert from
|
|
::
|
|
++ grab
|
|
|%
|
|
++ noun belt:dill
|
|
++ json
|
|
^- $-(^json belt:dill)
|
|
=, dejs:format
|
|
%- of
|
|
:~ aro+(su (perk %d %l %r %u ~))
|
|
bac+ul
|
|
ctl+(cu taft so)
|
|
del+ul
|
|
hit+(ot 'r'^ni 'c'^ni ~)
|
|
met+(cu taft so)
|
|
ret+ul
|
|
txt+(ar (cu taft so))
|
|
==
|
|
--
|
|
:: +grow: convert to
|
|
::
|
|
++ grow
|
|
|%
|
|
++ noun belt
|
|
--
|
|
--
|