Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions on use #18

Open
omkensey opened this issue Jan 26, 2020 · 3 comments
Open

Questions on use #18

omkensey opened this issue Jan 26, 2020 · 3 comments

Comments

@omkensey
Copy link

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?
@paxtonhare
Copy link
Owner

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

@NickBayard
Copy link

  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.

@paxtonhare
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants