App-ZFSCurses
view release on metacpan or search on metacpan
App::ZFScurses leverages the ``zfs`` command to do the heavy lifting and
to present information in a comprehensive way to the user.
Navigation
----------
App::ZFSCurses is built with `Curses::UI
<https://metacpan.org/pod/Curses::UI>`_. To navigate around the UI, use the
following keystrokes:
- **Up/Down** â move the cursor up or down.
- **Enter/Space** â validate selection.
- **Tab** â change focus around.
- **Ctrl+q** â quit the UI.
- **F1** â when browsing a dataset/snapshot properties, F1 will show a help
message about the selected property. You must first select a property using
Enter/Space.
Listboxes showing the different datasets/snapshots/properties are searchable:
- **/** â search forward in the list.
bin/zfscurses view on Meta::CPAN
}
=head1 KEYSTROKES
Use the following keystrokes to navigate around the UI.
=over 5
=item Up/Down
Move the cursor up or down.
=item Enter/Space
Validate/confirm selection.
=item Tab
Move focus around.
=item Ctrl+q
lib/App/ZFSCurses/Text.pm view on Meta::CPAN
Return the footer text. This method expects (sometimes) a text about the F1
key.
=cut
sub footer {
my $self = shift;
my $f1 = shift;
my $help =
"[Up/Down] Move cursor up/down. "
. "[Enter/Space] Validate. "
. "[Tab] Change focus. "
. "\n[Ctrl+q] Quit. ";
if ( defined $f1 ) { $help .= "$f1"; }
return $help;
}
=head2 exit_dialog
Return the exit dialog text.
( run in 0.310 second using v1.01-cache-2.11-cpan-4d50c553e7e )