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

Workaround no longer needed for Enlighten #3

Open
avylove opened this issue Apr 14, 2019 · 1 comment
Open

Workaround no longer needed for Enlighten #3

avylove opened this issue Apr 14, 2019 · 1 comment

Comments

@avylove
Copy link

avylove commented Apr 14, 2019

Enlighten version 1.2.0 introduced an offset argument. You should be able to pass that to enlighten.Manager to get the same effect as your workaround. Something like this.

manager = enlighten.get_manager(offset=24)

That should reduce lib.output.StatusBar down to about 3 lines which you could just move to lib.output.Output

@avylove
Copy link
Author

avylove commented Oct 27, 2019

With Enlighten 1.4.0, terminal sequences should be automatically detected.

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

No branches or pull requests

2 participants