summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/man/1/mothra5
-rw-r--r--sys/src/cmd/mothra/mothra.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/sys/man/1/mothra b/sys/man/1/mothra
index 7cadd55c0..8c1d793d5 100644
--- a/sys/man/1/mothra
+++ b/sys/man/1/mothra
@@ -93,7 +93,10 @@ Ask for confirmation and quit.
.PD
.PP
The typed commands are:
-.TF save\ back
+.TF typed\ commands
+.TP
+.B a
+Collapse or expand the navigation boxes at the top of the browser window.
.TP
.BI g " url
Get the page with the given URL.
diff --git a/sys/src/cmd/mothra/mothra.c b/sys/src/cmd/mothra/mothra.c
index d9c88fa0a..ea9db9155 100644
--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -524,6 +524,11 @@ void docmd(Panel *p, char *s){
default:
message("Unknown command %s, type h for help", s);
break;
+ case 'a':
+ s=arg(s);
+ if(*s == '\0' && selection)
+ hit3(3, 0);
+ break;
case 'g':
s=arg(s);
if(*s=='\0'){