From a7ad8770c994bab1d709e37e2cb4b70a081fd295 Mon Sep 17 00:00:00 2001 From: pixtaded Date: Sun, 12 Jan 2025 04:03:34 +0300 Subject: [PATCH] Add a terrible and hacky implementation of scrolling and bump the project's version to 1.0.4. --- build.gradle | 2 +- src/main/java/net/pixtaded/crab/client/CrabClient.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index d949b8f..c368e8d 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group = 'net.pixtaded' -version = '1.0.3' +version = '1.0.4' repositories { mavenCentral() diff --git a/src/main/java/net/pixtaded/crab/client/CrabClient.java b/src/main/java/net/pixtaded/crab/client/CrabClient.java index 4336866..6e7d023 100644 --- a/src/main/java/net/pixtaded/crab/client/CrabClient.java +++ b/src/main/java/net/pixtaded/crab/client/CrabClient.java @@ -140,7 +140,7 @@ public class CrabClient implements Crab { } private void clearScreen() { - System.out.print("\033[H\033[2J"); + System.out.print("\033[999999S\033[H\033[2J"); } }