diff options
| author | tjp <tjp@ctrl-c.club> | 2024-01-09 08:26:52 -0700 |
|---|---|---|
| committer | tjp <tjp@ctrl-c.club> | 2024-01-09 08:31:09 -0700 |
| commit | 15214b7c98cbe77bddb2a52e0849abdfa7953747 (patch) | |
| tree | cbfaff39e98d9cbf5849b01fd714c9a4c758108c /help.go | |
| parent | 6e0ed2c347f8da8df8e30b920e14968b7240d8ee (diff) | |
"outline" command
Diffstat (limited to 'help.go')
| -rw-r--r-- | help.go | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -8,7 +8,7 @@ import ( var ErrNotAHelpTopic = errors.New("don't recognize that help topic") -func Help(state *BrowserState, topic string) error { +func Help(_ *BrowserState, topic string) error { if topic == "" { topic = "topics" } @@ -42,10 +42,11 @@ root Root up back forward next previous reload print pipe -help links history +about help +go history save +links outline tour mark identity -go save -about quit +quit Any command may be written as any prefix sufficiently long to be unique. So for instance, "reload" can be specified by just typing "re". This is @@ -279,6 +280,12 @@ l[inks] Shortens the current page by only displaying the links in it. `[1:], + "outline": ` +o[utline] +--------- +Shortens the current page by online displaying the headers in it. +`[1:], + "history": ` h[istory] --------- |
