summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
-rw-r--r--nanobox.c2
3 files changed, 4 insertions, 1 deletions
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]" : ""),