mirror of
https://github.com/UzixLS/picocom.git
synced 2025-07-19 07:21:18 +03:00
Suppress help message if escape char is disabled
This commit is contained in:
@ -1810,9 +1810,11 @@ main(int argc, char *argv[])
|
||||
#endif
|
||||
|
||||
#ifndef NO_HELP
|
||||
fd_pinfof(opts.quiet,
|
||||
"Type [C-%c] [C-%c] to see available commands\r\n\r\n",
|
||||
KEYC(opts.escape), KEYC(KEY_HELP));
|
||||
if ( ! opts.noescape ) {
|
||||
fd_pinfof(opts.quiet,
|
||||
"Type [C-%c] [C-%c] to see available commands\r\n",
|
||||
KEYC(opts.escape), KEYC(KEY_HELP));
|
||||
}
|
||||
#endif
|
||||
fd_pinfof(opts.quiet, "Terminal ready\r\n");
|
||||
|
||||
|
Reference in New Issue
Block a user