Skip to content
Snippets Groups Projects
Commit f6e70c6e authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Show SSH keys file path as well.

parent bbb6ab35
No related branches found
No related tags found
No related merge requests found
...@@ -2632,6 +2632,7 @@ show_bbslist(char *current, int connected) ...@@ -2632,6 +2632,7 @@ show_bbslist(char *current, int connected)
char setting_file[MAX_PATH + 1]; char setting_file[MAX_PATH + 1];
char default_download[MAX_PATH + 1]; char default_download[MAX_PATH + 1];
char cache_path[MAX_PATH + 1]; char cache_path[MAX_PATH + 1];
char keys_path[MAX_PATH + 1];
char list_title[30]; char list_title[30];
int redraw = 0; int redraw = 0;
bool nowait = true; bool nowait = true;
...@@ -3310,6 +3311,10 @@ show_bbslist(char *current, int connected) ...@@ -3310,6 +3311,10 @@ show_bbslist(char *current, int connected)
sizeof(cache_path), sizeof(cache_path),
SYNCTERM_PATH_CACHE, SYNCTERM_PATH_CACHE,
false); false);
get_syncterm_filename(keys_path,
sizeof(keys_path),
SYNCTERM_PATH_KEYS,
false);
asprintf(&p, asprintf(&p,
"`SyncTERM File Locations`\n\n" "`SyncTERM File Locations`\n\n"
"~ Global Dialing Directory (Read-Only) ~\n" "~ Global Dialing Directory (Read-Only) ~\n"
...@@ -3321,12 +3326,15 @@ show_bbslist(char *current, int connected) ...@@ -3321,12 +3326,15 @@ show_bbslist(char *current, int connected)
"~ Default download Directory ~\n" "~ Default download Directory ~\n"
" %s\n\n" " %s\n\n"
"~ Cache Directory ~\n" "~ Cache Directory ~\n"
" %s\n\n"
"~ SSH Keys File ~\n"
" %s\n\n", " %s\n\n",
shared_list, shared_list,
personal_list, personal_list,
setting_file, setting_file,
default_download, default_download,
cache_path); cache_path,
keys_path);
uifc.showbuf(WIN_MID | WIN_SAV | WIN_HLP, uifc.showbuf(WIN_MID | WIN_SAV | WIN_HLP,
0, 0,
0, 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment