From 3c2b9739b6e9f72f52fbc3ef8deaa59af37017c5 Mon Sep 17 00:00:00 2001 From: nishi Date: Thu, 1 Feb 2024 01:58:09 +0000 Subject: [PATCH] w3b update - u command git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@146 d27a3e52-49c5-7645-884c-6793ebffc270 --- Example/w3b/w3b.c | 5 +++++ W3Version.h.p | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Example/w3b/w3b.c b/Example/w3b/w3b.c index 31535b6..ed5d3be 100644 --- a/Example/w3b/w3b.c +++ b/Example/w3b/w3b.c @@ -390,6 +390,11 @@ int main(int argc, char** argv) { rendered = false; start += termh; break; + case 'u': + rendered = false; + start -= termh; + if(start < 0) start = 0; + break; case '\n': case '\r': break; diff --git a/W3Version.h.p b/W3Version.h.p index 9e18bd7..f004d37 100644 --- a/W3Version.h.p +++ b/W3Version.h.p @@ -6,7 +6,7 @@ extern "C" { #endif -#define LIBW3_VERSION "2.2A" \ +#define LIBW3_VERSION "2.2B" \ SUFFIX #ifdef __cplusplus -- 2.43.0