From 8d1afb7766c948c58d45333888a5f99477038167 Mon Sep 17 00:00:00 2001 From: Michele Bini Date: Sat, 20 Apr 2019 02:09:52 +0200 Subject: Modified: .gitignore M Makefile Modified: nanobox.c diff --git a/.gitignore b/.gitignore index 3814265..c14e223 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ nanobox +*.git diff --git a/Makefile b/Makefile index a9419d8..23c3658 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,4 @@ CFLAGS = -DENABLE_FEATURE_VERBOSE=0 +%: %.c + tcc $^ -o $@ nanobox: full_write.c read.c read_key.c safe_poll.c safe_write.c verror_msg.c bboxfix.c nanobox.c diff --git a/nanobox.c b/nanobox.c index 38125d8..3254329 100644 --- a/nanobox.c +++ b/nanobox.c @@ -2371,7 +2371,7 @@ static int format_edit_status(void) #if 0 " %ld" #endif - " ^X=Exit ^O=Save ^W=Search ^K=Cut ^U=Paste M-u Undo", + " ^X=Exit ^O=Save ^W=Search ^K=Cut ^U=Paste M-u=Undo", (current_filename != NULL ? current_filename : "No file"), #if ENABLE_FEATURE_NANO_READONLY (readonly_mode ? " [Readonly]" : ""), -- cgit v0.10.2