Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.11 KB

README.md

File metadata and controls

20 lines (12 loc) · 1.11 KB

ANSI Support classes for Java Swing

It supports basic ANSI escape code styles and colors, but not all escape codes for various reasons.

Classes and interfaces are provided for both Java and Kotlin. These classes are useful for creating a "text terminal" in editor panes using a monospaced font and basic ANSI styles and colors to give it a look and feel like a real terminal.

Here is a demo of how a JEditorPane can be styled by using an AnsiEditorKit, which is a EditorKit used to create styled documents based on ANSI escape code.

Screen shot of the AnsiDemoFrame