bndtools / bnd

Bnd/Bndtools. Tooling to build OSGi bundles including Eclipse, Maven, and Gradle plugins.
https://bndtools.org
Other
526 stars 304 forks source link

ANSI Console doesn't work with bndtools #6159

Closed maho7791 closed 2 hours ago

maho7791 commented 2 weeks ago

There is a bndtools.core.console.AnsiHandler in bndtools.core, that causes the Eclipse Console to clear randomly when using ANSI coding.

Is this handler still in use?

Disabling this handler in the plugin.xml makes the console output look ok.

https://github.com/bndtools/bnd/blob/35d63c0ac6982114f1627a641355a596826eead6/bndtools.core/_plugin.xml#L4

and

https://github.com/bndtools/bnd/blob/master/bndtools.core/src/bndtools/core/console/AnsiHandler.java

The Eclipse console supports ANSI natively.

pkriens commented 2 weeks ago

will you make a PR?

maho7791 commented 2 weeks ago

Yes

stbischof commented 1 week ago

@maho7791 i have this issue since years. thx for fixing

@laeubi this is what i showed you.