Skip to content

This is a feature extending library for Lanterna, a 100% pure Java terminal-like text based GUI.

License

Notifications You must be signed in to change notification settings

TimerErTim/Lanterna-Functions

Repository files navigation

Lanterna-Functions

This is a feature extending library for Lanterna, a 100% pure Java terminal-like text based GUI.

Introduction

Aim of this project is to provide a library with extra functions for the Lanterna library. This repository was created to provide features needed in the Text-Fighter project to provide a console-like GUI. It may be updated in the future to provide extra functionality.

Dependencies

In order to use this library you will obviously have to add Lanterna to your project. This can be done with Maven as shown on Lanterna's README or Gradle using the same dependency information. Alternatively you can download the .jar files here and add it to your project as library like you would with Ant.

Version

The version of Lanterna used is 3.0.3, so take this into account when using Gradle or Maven. Compatibility is not guaranteed with other versions (however it is still very much possible).

Usage

Download the .jar file from the release page and add it to your project as library. You may have to extract it prior to using it in order to have independent source and javadoc files. In the future you should be able to get it from Maven Central.

Feature List

  • TerminalConsole
    • Mainly acts like 'System.out.println' and 'System.in'

TODO

  • Menu choices in the TerminalConsole
  • Softwrapping and automatic resizing
  • Automatic scrolling and animated text

About

This is a feature extending library for Lanterna, a 100% pure Java terminal-like text based GUI.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages