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
|
.PD
|
||||||
.PP
|
.PP
|
||||||
The typed commands are:
|
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
|
.TP
|
||||||
.BI g " url
|
.BI g " url
|
||||||
Get the page with the given URL.
|
Get the page with the given URL.
|
||||||
|
|
|
@ -524,6 +524,11 @@ void docmd(Panel *p, char *s){
|
||||||
default:
|
default:
|
||||||
message("Unknown command %s, type h for help", s);
|
message("Unknown command %s, type h for help", s);
|
||||||
break;
|
break;
|
||||||
|
case 'a':
|
||||||
|
s=arg(s);
|
||||||
|
if(*s == '\0' && selection)
|
||||||
|
hit3(3, 0);
|
||||||
|
break;
|
||||||
case 'g':
|
case 'g':
|
||||||
s=arg(s);
|
s=arg(s);
|
||||||
if(*s=='\0'){
|
if(*s=='\0'){
|
||||||
|
|
Loading…
Reference in a new issue