koutto / jok3r

Jok3r v3 BETA 2 - Network and Web Pentest Automation Framework

Home Page:https://www.jok3r-framework.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Workaround no longer needed for Enlighten

avylove opened this issue · comments

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

With Enlighten 1.4.0, terminal sequences should be automatically detected.