urbit/main/mar/term-line/door.hook

28 lines
654 B
Plaintext
Raw Normal View History

2014-09-12 06:11:03 +04:00
::
:::: /hook/door/term-line/mar
::
/? 314
/- term-line
|_ tel=term-line
::
++ grab :: convert from
|%
2014-10-08 23:06:40 +04:00
++ noun term-line :: clam from %noun
2014-09-12 06:11:03 +04:00
--
2014-10-23 07:02:18 +04:00
::
++ grow
|%
++ json
%- jobe
2014-11-06 01:40:18 +03:00
:~ [%prompt %s p.p.tel]
2014-10-23 07:02:18 +04:00
[%history %a (turn q.tel |=(a=cord [%s a]))]
:+ %lines %a
%- zing ^- (list (list ^json))
2014-12-17 23:38:23 +03:00
%+ turn (flop r.tel) |= a=?(tank [%stem p=@da q=tank r=tank])
?. ?=(%stem -.a)
2014-10-23 07:02:18 +04:00
(turn (wash 0^80 a) jape)
2014-12-17 23:38:23 +03:00
[(jobe prompt/(jape ~(ram re q.a)) task/(jape ~(ram re r.a)) ~)]~
2014-10-23 07:02:18 +04:00
==
--
2014-09-12 06:11:03 +04:00
--