Commit 80fd0569d166cd32886a640e58f3bf292807a3c0

antirez 2015-04-13T09:38:43

Version 1.0 Linenoise is used in multiple projects for enough time, let's tag this commit with a version number as requested into issue #88, so that we have an initial reference. Given the nature of the library, the version was also added in the linenoise C and header file as well so that it is easy to realize for people having a copy embedded somewhere if they are using the latest version.

diff --git a/linenoise.c b/linenoise.c
index 718ed29..c10557d 100644
--- a/linenoise.c
+++ b/linenoise.c
@@ -1,5 +1,7 @@
-/* linenoise.c -- guerrilla line editing library against the idea that a
- * line editing lib needs to be 20,000 lines of C code.
+/* linenoise.c -- VERSION 1.0
+ *
+ * Guerrilla line editing library against the idea that a line editing lib
+ * needs to be 20,000 lines of C code.
  *
  * You can find the latest source code at:
  *
diff --git a/linenoise.h b/linenoise.h
index 0e89179..fbb01cf 100644
--- a/linenoise.h
+++ b/linenoise.h
@@ -1,5 +1,7 @@
-/* linenoise.h -- guerrilla line editing library against the idea that a
- * line editing lib needs to be 20,000 lines of C code.
+/* linenoise.h -- VERSION 1.0
+ *
+ * Guerrilla line editing library against the idea that a line editing lib
+ * needs to be 20,000 lines of C code.
  *
  * See linenoise.c for more information.
  *