shithub: hell

Download patch

ref: e776a4c331ffbcfb953bda14a70edad5d48b82e4
parent: 27cdb370e87a86896ecdf6838346924c7be7a53b
author: penny <penny@limitedideas.org>
date: Mon Oct 27 19:15:25 EDT 2025

add /page to print current page

--- a/help.go
+++ b/help.go
@@ -18,6 +18,9 @@
   /unlike <index>              Unfavorite status by index.
   /thread <index>              View thread the indexed status is part of.
   /cat <index>                 Output a status with details (liker, replies, etc).
+  /next                        Print next page if page is open.
+  /prev                        Print previous page.
+  /page                        Print current page.
   /home                        Open timeline page.
   /public                      Open federated timeline page.
   /local                       Open instance local timeline page.
--- a/main.go
+++ b/main.go
@@ -153,6 +153,11 @@
 					fmt.Print(hc.page.String())
 				}
 				return
+			case "page":
+				if hc.page != nil {
+					fmt.Print(hc.page.String())
+				}
+				return
 			case "bookmarks":
 				hc.pause(true)
 				hc.page = &Page{}
--