Update help prints to print the configured escape character

This commit is contained in:
Aaron Cook 2022-07-03 16:49:32 -05:00
commit 28d342aa42
4 changed files with 35 additions and 7 deletions

View file

@ -116,11 +116,11 @@ bytenuts_run(int argc, char **argv)
if (bytenuts.resume) {
load_state();
} else {
cheerios_insert(
cheerios_print(
"Welcome to Bytenuts\r\n"
"To quit press ctrl-b q\r\n"
"To see all commands, press ctrl-b h\r\n",
82
"To quit press ctrl-%c q\r\n"
"To see all commands, press ctrl-%c h\r\n",
bytenuts.config.escape, bytenuts.config.escape
);
}