various: fix compilation failures

Due to recent dill changes.
This commit is contained in:
fang 2021-03-15 21:19:28 +01:00
parent 7fe8c67684
commit 1d43942bf2
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972
4 changed files with 10 additions and 8 deletions

View File

@ -5,8 +5,8 @@
:- %aqua-events
%+ turn
^- (list unix-event)
:~ [//term/1 %belt %ctl `@c`%e]
[//term/1 %belt %ctl `@c`%u]
:~ [//term/1 %belt %key %ctl `@c`%e]
[//term/1 %belt %key %ctl `@c`%u]
[//term/1 %belt %txt ((list @c) command)]
[//term/1 %belt %ret ~]
==

View File

@ -28,8 +28,8 @@
%+ send-events-to who
^- (list unix-event)
:~
[//term/1 %belt %ctl `@c`%e]
[//term/1 %belt %ctl `@c`%u]
[//term/1 %belt %key %ctl `@c`%e]
[//term/1 %belt %key %ctl `@c`%u]
[//term/1 %belt %txt ((list @c) what)]
[//term/1 %belt %ret ~]
==
@ -40,7 +40,7 @@
|= [who=ship what=term]
^- (list ph-event)
%+ send-events-to who
:~ [//term/1 %belt %ctl (,@c what)]
:~ [//term/1 %belt %key %ctl (,@c what)]
==
::
:: Inject a file into a ship

View File

@ -45,8 +45,8 @@
=+ cha=(tuba (trip q.kev))
?> ?=([@ ~] cha) :: of a single character
?+ mod !! :: modified by one buckykey
[%ctrl ~ ~] [%ctl i.cha]
[%alt ~ ~] [%met i.cha]
[%ctrl ~ ~] [%key %ctl i.cha]
[%alt ~ ~] [%key %met i.cha]
==
?@ q.kev
[%txt (tuba (trip q.kev))]

View File

@ -19,7 +19,9 @@
^- ^json
?+ -.dib ~|(unsupported-blit+-.dib !!)
%mor [%a (turn p.dib |=(a=dill-blit:dill json(dib a)))]
%hop (frond %hop (numb p.dib))
%hop %+ frond %hop
?@ p.dib (numb p.dib)
(pairs 'r'^(numb r.p.dib) 'c'^(numb c.p.dib) ~)
%put (frond -.dib (tape (tufa p.dib)))
?(%bel %clr) (frond %act %s -.dib)
==