diff options
author | Joe <rbo@gmx.us> | 2024-05-16 20:20:20 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-05-16 20:20:20 +0200 |
commit | 4490aeb3db6087298ded4c5ef985b61be360a607 (patch) | |
tree | d76a97a7a1720af13680fb0c03ee2ae3c9669cc6 /src/c_defs.go | |
parent | turned out to be a simple fix (diff) | |
download | hardflip-4490aeb3db6087298ded4c5ef985b61be360a607.tar.gz hardflip-4490aeb3db6087298ded4c5ef985b61be360a607.tar.bz2 hardflip-4490aeb3db6087298ded4c5ef985b61be360a607.tar.xz hardflip-4490aeb3db6087298ded4c5ef985b61be360a607.tar.zst hardflip-4490aeb3db6087298ded4c5ef985b61be360a607.zip |
ok
Diffstat (limited to '')
-rw-r--r-- | src/c_defs.go | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/c_defs.go b/src/c_defs.go index 9e7015e..a21fca8 100644 --- a/src/c_defs.go +++ b/src/c_defs.go @@ -66,7 +66,6 @@ m: mkdir - ?: help` ERROR_KEYS_HINTS = "[Enter]: ok" CONFIRM_KEYS_HINTS = `y/n: yes - no` - INSERT_KEYS_HINTS = `` HELP_KEYS_HINTS = `q: close - j: down - k: up` @@ -175,6 +174,7 @@ const ( INS_OS_VOLAPI INS_OS_NOTE INS_OS_OK + INS_MAX = INS_OS_OK ) const ( @@ -185,6 +185,21 @@ const ( ) var ( + INSERT_HINTS = [INS_MAX]string{ + "Select the protocol used to connect to your host", + "IP or domain name of your host", + "Port used for SSH (default: 22)", + "User used to log in (default: root)", + "Password for your user", + "SSH private key used to log in instead of a password", + "Optional shell command line that will be run on your host", + "IP or domain name of your jump host", + "Port used for your jump SSH host (default: 22)", + // TODO: fuck this anyway + } +) + +var ( HELP_NORMAL_KEYS = [][2]string{ {"<down> | j", "Go to next item"}, {"<up> | k", "Go to previous item"}, |