paxtonhare / demo-magic

A handy shell script that enables you to write repeatable demos in a bash environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Questions on use

omkensey opened this issue · comments

Two questions:

  1. Is there an easy way to turn off the bolding of the executed command lines?
  2. Can I get demo-magic to pause at an empty prompt instead of the prompt not being printed until I leave pause mode?

@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.

  1. 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.

Thanks @NickBayard ! Clearly my eyes are too old to distinguish bold from normal.