Skip to content

Commit

Permalink
Jansi implementation
Browse files Browse the repository at this point in the history
Change package name to avoid confusion between Jansi 2.x and JLine-Jansi

Add jansi to JLine bundle

Do not include deprecated methods in the new api

Use a FastBufferedOutputStream for PosixSysTerminal#output()

Allow registering the terminal in the jansi layer

Also bring tests
  • Loading branch information
gnodet committed Dec 21, 2023
1 parent 0bcba13 commit 3a9ff8c
Show file tree
Hide file tree
Showing 40 changed files with 4,292 additions and 11 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2002-2018, the original author or authors.
Copyright (c) 2002-2023, the original author or authors.
All rights reserved.

https://opensource.org/licenses/BSD-3-Clause
Expand Down
46 changes: 46 additions & 0 deletions jansi-core/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2002-2022, the original author or authors.
This software is distributable under the BSD license. See the terms of the
BSD license in the documentation provided with this software.
https://opensource.org/licenses/BSD-3-Clause
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jline</groupId>
<artifactId>jline-parent</artifactId>
<version>3.25.0-SNAPSHOT</version>
</parent>

<artifactId>jansi-core</artifactId>
<name>Jansi Core</name>

<properties>
<automatic.module.name>org.jansi.core</automatic.module.name>
</properties>

<dependencies>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-terminal</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
Loading

0 comments on commit 3a9ff8c

Please sign in to comment.