Minor improvements

master
Mark 2022-10-28 19:48:12 -07:00
parent fbf2d6f36d
commit 4847f0a9a4
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
3 changed files with 5 additions and 3 deletions

View File

@ -6,6 +6,7 @@
"onefile", "onefile",
"Packrat", "Packrat",
"pyparsing", "pyparsing",
"rlimit",
"runstatus", "runstatus",
"srange", "srange",
"subvar" "subvar"

View File

@ -13,12 +13,10 @@
- Command and macro autocomplete - Command and macro autocomplete
- step-by-step reduction - step-by-step reduction
- Syntax highlighting: parenthesis, bound variables, macros, etc - Syntax highlighting: parenthesis, bound variables, macros, etc
- Pin header to top of screen
- PyPi package - PyPi package
- Smart alignment in all printouts - Smart alignment in all printouts
- Full-reduce option - Full-reduce option
- Set reduction limit command - Free variable warning
- Runtime limit
## Mention in Docs ## Mention in Docs
- lambda functions only work with single-letter arguments - lambda functions only work with single-letter arguments

View File

@ -263,6 +263,7 @@ def help(command, runner) -> None:
printf( printf(
HTML( HTML(
"\n<cmd_text>" + "\n<cmd_text>" +
"<cmd_h>Usage:</cmd_h>" + "<cmd_h>Usage:</cmd_h>" +
"\n" + "\n" +
"\tWrite lambda expressions using your <cmd_key>\\</cmd_key> key." + "\tWrite lambda expressions using your <cmd_key>\\</cmd_key> key." +
@ -277,6 +278,8 @@ def help(command, runner) -> None:
f"\t<cmd_code>{name}</cmd_code> \t {text}" f"\t<cmd_code>{name}</cmd_code> \t {text}"
for name, text in help_texts.items() for name, text in help_texts.items()
]) + ]) +
"\n\n"
"<muted>Detailed documentation can be found on this project's git page.</muted>" +
"</cmd_text>" "</cmd_text>"
), ),
style = lamb.utils.style style = lamb.utils.style