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

term and profile seems not work. #58

Closed
liudonghua123 opened this issue Feb 18, 2020 · 5 comments
Closed

term and profile seems not work. #58

liudonghua123 opened this issue Feb 18, 2020 · 5 comments

Comments

@liudonghua123
Copy link

I want to change the look and feel of the generated svg.
I executed the following command

svg-term --cast=udUD5QeJ5dBk0dF8fQsiyyppy --out quickstart1.svg --window

and

svg-term --cast=udUD5QeJ5dBk0dF8fQsiyyppy --out quickstart2.svg --window --term iterm2 --profile  "Afterglow.itermcolors"

The Afterglow.itermcolors profile was download from https://github.com/mbadolato/iTerm2-Color-Schemes/tree/master/schemes, but the generated two files are the same.

I read the readme, but could not find how to use term and profile options.

@marionebl
Copy link
Owner

marionebl commented Feb 18, 2020

You'll want to install the Afterglow scheme in iTerm and then execute the command like this. Documentation could be clearer about this, also so #38 and #41.

svg-term --cast=udUD5QeJ5dBk0dF8fQsiyyppy --out quickstart2.svg --window --term iterm2 --profile  "Afterglow"

Produces the following cast according to my tests https://gist.github.com/marionebl/542f51bbce9d058a8243d27902b4c696

Let me know if this works for you.

@liudonghua123
Copy link
Author

You'll want to install the Afterglow scheme in iTerm and then execute the command like this. Documentation could be clearer about this, also so #38 and #41.

svg-term --cast=udUD5QeJ5dBk0dF8fQsiyyppy --out quickstart2.svg --window --term iterm2 --profile  "Afterglow"

Produces the following cast according to my tests https://gist.github.com/marionebl/542f51bbce9d058a8243d27902b4c696

Let me know if this works for you.

If I not use iTerm, like cmd in windows, then it will not work as expected?

@marionebl
Copy link
Owner

Ah, for this case you can actually use a local file as per

svg-term --cast=udUD5QeJ5dBk0dF8fQsiyyppy --out quickstart2.svg --window --term iterm2 --profile  "./Afterglow.itermcolors"

Note the ./ needs to be in the file name

@liudonghua123
Copy link
Author

@marionebl Hi, I tried your solution, but still got the same svg file. Is there any relation with the windows cmd terminal. Or it does not support cmd.

@marionebl
Copy link
Owner

Sorry, can't test on windows as I don't have access to a installation of it.

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

2 participants