From 8a36b8d3d4e23065de046215c46e57b2b5b9ff0e Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Mon, 9 Jan 2017 13:32:43 -0800 Subject: [PATCH] clean up ra-console init code --- app/talk.hoon | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/talk.hoon b/app/talk.hoon index 62f87d51da..5291a9938c 100644 --- a/app/talk.hoon +++ b/app/talk.hoon @@ -1533,10 +1533,14 @@ ++ ra-console :: console subscribe |= {her/ship pax/path} ^+ +> - =+ man=`knot`?~(pax (main her) ?>(?=($~ t.pax) i.pax)) - =+ ^= she ^- shell - [her man 0 *sole-share ~ [[%& our.hid man] ~ ~] [~ ~] ~ *cabal ~] - sh-abet:~(sh-peer sh ~ she) + =/ man/knot + ?+ pax !! + $~ (main her) + {@ta $~} i.pax + == + =/ she/shell + %*(. *shell her her, man man, passive (sy [%& our.hid man] ~)) + sh-abet:~(sh-peer sh ~ `shell`she) :: ++ ra-subscribe :: listen to |= {her/ship pax/path}