From 56cf5ae5bce6104ce9e65b4964f75425fef5e186 Mon Sep 17 00:00:00 2001 From: ryjm Date: Thu, 9 Jul 2020 12:46:25 -0400 Subject: [PATCH] chat-cli: add mic directly in tab-list --- pkg/arvo/app/chat-cli.hoon | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/pkg/arvo/app/chat-cli.hoon b/pkg/arvo/app/chat-cli.hoon index 81afae2ffc..005f9b8f31 100644 --- a/pkg/arvo/app/chat-cli.hoon +++ b/pkg/arvo/app/chat-cli.hoon @@ -177,9 +177,7 @@ :: ++ tab-list |= sole-id=@ta - %+ turn tab-list:sh:tc - |= [term=cord detail=tank] - [(cat 3 ';' term) detail] + tab-list:sh:tc :: ++ on-command |= [sole-id=@ta =command] @@ -649,24 +647,24 @@ ++ tab-list ^- (list [@t tank]) :~ - [%join leaf+";join ~ship/chat-name (glyph)"] - [%leave leaf+";leave ~ship/chat-name"] + [';join' leaf+";join ~ship/chat-name (glyph)"] + [';leave' leaf+";leave ~ship/chat-name"] :: - [%create leaf+";create [type] /chat-name (glyph)"] - [%delete leaf+";delete /chat-name"] - [%invite leaf+";invite /chat-name ~ships"] - [%banish leaf+";banish /chat-name ~ships"] + [';create' leaf+";create [type] /chat-name (glyph)"] + [';delete' leaf+";delete /chat-name"] + [';invite' leaf+";invite /chat-name ~ships"] + [';banish' leaf+";banish /chat-name ~ships"] :: - [%bind leaf+";bind [glyph] ~ship/chat-name"] - [%unbind leaf+";unbind [glyph]"] - [%what leaf+";what (~ship/chat-name) (glyph)"] + [';bind' leaf+";bind [glyph] ~ship/chat-name"] + [';unbind' leaf+";unbind [glyph]"] + [';what' leaf+";what (~ship/chat-name) (glyph)"] :: - [%settings leaf+";settings"] - [%set leaf+";set key (value)"] - [%unset leaf+";unset key"] + [';settings' leaf+";settings"] + [';set' leaf+";set key (value)"] + [';unset' leaf+";unset key"] :: - [%chats leaf+";chats"] - [%help leaf+";help"] + [';chats' leaf+";chats"] + [';help' leaf+";help"] == :: +work: run user command ::