mothra: add keyboard command a to collapse/expand navigation boxes
This commit is contained in:
parent
f03f333633
commit
126290e423
2 changed files with 9 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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'){
|
||||
|
|
Loading…
Reference in a new issue