Questions on use
omkensey opened this issue · comments
Joe Thompson commented
Two questions:
- Is there an easy way to turn off the bolding of the executed command lines?
- Can I get demo-magic to pause at an empty prompt instead of the prompt not being printed until I leave pause mode?
Paxton Hare commented
@omkensey I'm not seeing bold command lines. Perhaps you just need to set the DEMO_CMD_COLOR.
I'm not sure what you mean by question 2.
Nicholas Bayard commented
- Is there an easy way to turn off the bolding of the executed command lines?
The default DEMO_CMD_COLOR is set to $WHITE which uses "\033[1;37m". That "1" indicates bold text. Set it to 0 (you can override the write definition or just change the script itself) and the command text will be normal.
Paxton Hare commented
Thanks @NickBayard ! Clearly my eyes are too old to distinguish bold from normal.