From 8091cf11d15e1363d8d608fb640f4f12b0887e52 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Fri, 30 Dec 2022 04:28:58 +0200 Subject: [PATCH] foo --- scripts/push | 7 +++++++ scripts/push.bat | 2 ++ src/main.c | 5 +++-- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100755 scripts/push create mode 100644 scripts/push.bat diff --git a/scripts/push b/scripts/push new file mode 100755 index 0000000..1067f03 --- /dev/null +++ b/scripts/push @@ -0,0 +1,7 @@ +#!/bin/sh + +fname=/etherdfs/oftp.zip + +#git archive -o $fname HEAD +rm -f $fname +zip $fname Makefile src/*.c src/*.h src/dos/*.c src/dos/*.h src/unix/*.c src/unix/*.h scripts/* diff --git a/scripts/push.bat b/scripts/push.bat new file mode 100644 index 0000000..c808954 --- /dev/null +++ b/scripts/push.bat @@ -0,0 +1,2 @@ +del oftp.zip +zip z:\oftp.zip Makefile src\*.c src\*.h scripts\*.bat diff --git a/src/main.c b/src/main.c index 2323ea3..329f053 100644 --- a/src/main.c +++ b/src/main.c @@ -14,9 +14,10 @@ int main(void) tg_rect("Remote", 0, 0, 40, 23, TGFX_FRAME); tg_rect("Local", 40, 0, 40, 23, TGFX_FRAME); + tg_bgcolor(0); tg_fgcolor(7); - tg_text(0, 24, "fooolalala bar"); -/* tg_setcursor(2, 24);*/ + tg_text(0, 23, ">"); + tg_setcursor(2, 23); while(wait_input(&ev)) { switch(ev.type) { -- 1.7.10.4