Commit Diff


commit - f6854b294d578a287fa401e5fd4951174764cd3c
commit + f7f08ebcfd4b7012becf8b718c86547925cf5499
blob - 9b8070176a5e023393d7444c1ab34fa284de2558
blob + d369ff170fe2db8ecfe740b3001246817123ee8a
--- lonk.py
+++ lonk.py
@@ -418,15 +418,21 @@ def page_atme(db_con, client_id, lonk_url, honk_url):
 
 
 def print_gethonks(gethonks_answer, lonk_url, honk_url):
-    line = f"=> {lonk_url.build('atme')} @me"
-    if gethonks_answer["mecount"]:
-        line += f' ({gethonks_answer["mecount"]})'
-    print(line + "\r")
 
-    line = f"=> {honk_url.build_url(path='chatter')} chatter"
-    if gethonks_answer["chatcount"]:
-        line += f' ({gethonks_answer["chatcount"]})'
-    print(line + "\r")
+    def _menu():
+        print(f"=> {honk_url.build_url(path='newhonk')} New honk\r")
+
+        line = f"=> {lonk_url.build('atme')} @me"
+        if gethonks_answer["mecount"]:
+            line += f' ({gethonks_answer["mecount"]})'
+        print(line + "\r")
+
+        line = f"=> {honk_url.build_url(path='chatter')} chatter"
+        if gethonks_answer["chatcount"]:
+            line += f' ({gethonks_answer["chatcount"]})'
+        print(line + "\r")
+
+    _menu()
     print("\r")
 
     for honk in gethonks_answer.get("honks") or []:
@@ -436,7 +442,7 @@ def print_gethonks(gethonks_answer, lonk_url, honk_url
         convoy = honk["Convoy"]
         re_url = honk.get("RID")
         lines = [
-            f'##{"#" if re_url else ""} From {honk["Handle"]} {honk["Date"]}',
+            f'##{"# ↱" if re_url else ""} From {honk["Handle"]} {honk["Date"]}',
             f'=> {lonk_url.build("convoy", urlencode({"c": convoy}))} Convoy {convoy}',
             f'=> {honk["XID"]}',
         ]
@@ -452,10 +458,13 @@ def print_gethonks(gethonks_answer, lonk_url, honk_url
                 lines.append(donk_text)
         lines.append("")
         lines.append(f'=> {lonk_url.build("bonk", urlencode({"w": honk["XID"]}))} bonk: Share honk with others')
+        lines.append(f'=> {honk_url.build_url(path="newhonk", query=urlencode({"rid": honk["XID"]}))} honk back')
         print("\r\n".join(lines))
         print("\r")
 
+    _menu()
 
+
 def new_client_stage_1_ask_server(lonk_url):
     if not lonk_url.query:
         print("10 Honk server URL\r")