From 858862a4323f72cd05b470199e4f67b16ce34f7a Mon Sep 17 00:00:00 2001 From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com> Date: Fri, 26 Sep 2025 19:58:49 -0700 Subject: [PATCH] Add readme text to tui --- examples/tui/tui.nim | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/examples/tui/tui.nim b/examples/tui/tui.nim index f61f983..aed02b6 100644 --- a/examples/tui/tui.nim +++ b/examples/tui/tui.nim @@ -555,8 +555,15 @@ proc initChatApp(client: Client): Future[ChatApp] {.async.} = # Add some sample conversations with messages + var sender = "Nobody" var conv1 = ConvoInfo(name: "ReadMe", messages: @[]) - conv1.addMessage("","Bob", "TODO") + conv1.addMessage("",sender, "First start multiple clients and ensure, that he PeerCount is correct (it's listed in the top left corner)") + conv1.addMessage("",sender, "Once connected, The sender needs to get the recipients introduction link. The links contains the key material and information required to initialize a conversation. Press `Tab` to generate a link") + conv1.addMessage("",sender, "Paste the link from one client into another. This will start the initialization protocol, which will send an invite to the recipient and negotiate a conversation") + conv1.addMessage("",sender, "Once established, Applications are notified by a callback that a new conversation has been established, and participants can send messages") + + + app.conversations[conv1.name] = conv1 return app