fusesource / jansi

Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.
http://fusesource.github.io/jansi/
Apache License 2.0
1.11k stars 140 forks source link

render method not a member of org.fusesource.jansi.Ansi #198

Closed gorczyca closed 3 years ago

gorczyca commented 3 years ago

I am using Jansi 2.1.0 on Windows 10 with Scala. The following piece of code (used in Scala)

System.out.println( ansi().eraseScreen().render("@|red Hello|@ @|green World|@") );

raises the error that there is no such method as render:

value render is not a member of org.fusesource.jansi.Ansi
    println(ansi.eraseScreen.render("@|red Hello|@ @|green World|@"))

Other methods work fine though.

Thank you.

gorczyca commented 3 years ago

My bad, sorry!