From: nishi Date: Thu, 1 Feb 2024 01:58:09 +0000 (+0000) Subject: w3b update - u command X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=3c2b9739b6e9f72f52fbc3ef8deaa59af37017c5;p=libw3.git w3b update - u command git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@146 d27a3e52-49c5-7645-884c-6793ebffc270 --- 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