Skip to content

Commit

Permalink
Support refresh/re-executing via "r" key
Browse files Browse the repository at this point in the history
This is useful if any of the screen information (like e.g.
network information) might be outdated
  • Loading branch information
mika committed May 27, 2020
1 parent 4a0d4a6 commit 4690c89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions grml-quickconfig
Expand Up @@ -163,6 +163,11 @@ while : ; do
echo $INPUT
break
;;
[rR])
echo $INPUT
exec grml-quickconfig
break
;;
[${(k)keys}])
echo $INPUT
eval ${keymap[$INPUT]} || true
Expand Down
2 changes: 1 addition & 1 deletion quickconfig/001-heading.sh
Expand Up @@ -2,7 +2,7 @@
# print the heading
LINE='print_line "Welcome to grml-quickconfig";
print_line "Press a highlighted key to perform an action, or press";
print_line "/Return/ or ^q to go back to the shell.";
print_line "/Return/ or ^q to go back to the shell, or ^r to refresh.";
print_delim;
'

Expand Down

0 comments on commit 4690c89

Please sign in to comment.