From: John Tsiombikas Date: Fri, 30 Dec 2022 02:28:58 +0000 (+0200) Subject: foo X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=oftp;a=commitdiff_plain;h=8091cf11d15e1363d8d608fb640f4f12b0887e52 foo --- 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) {