diff --git a/Makefile b/Makefile index 8a35463..a166a76 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ -editor: editor.c - $(CC) editor.c -o editor -Wall -Wextra -pedantic -std=c99 \ No newline at end of file +lite: lite.c + $(CC) lite.c -o lite -Wall -Wextra -pedantic -std=c99 \ No newline at end of file diff --git a/README.md b/README.md index 46b203f..6e92ea9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +# :pencil2: Lite Lite is a terminal based lightweight text editor built using only C language. @@ -21,30 +21,22 @@ Run the following command: $ cd Lite && ./editor ``` -## Supported Features +## How to use -1) View existing files. - -2) Edit exiting or new files creted. - -## Help - -| Command | Function | -|---------|-----------| -| Ctrl+Q | Exit | -| Ctrl+S | Save | -| ESC | exit mode | +| Command | Function | +|------------------------------|-----------------| +| Ctrl+Q | Exit | +| Ctrl+S | Save | +| ESC | Enter | exit mode | +| :arrow_left: | :arrow_up: | search backward | +| :arrow_right: | :arrow_down: | search forward | ## Issues You can report the bugs at the [issue tracker](https://github.com/Sam1301/Lite/issues) -## License +## References -The `kilo` source code contained in `steps.diff` was -[originally written](https://github.com/antirez/kilo) by Salvatore Sanfilippo -(aka [antirez](https://github.com/antirez)) and released under the BSD 2-clause -license (see `steps.diff.LICENSE`). I have made changes to the original code. - -All other files in this repository are licensed under -[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) \ No newline at end of file +* [Kilo](https://github.com/antirez/kilo) written by [Salvatore Sanfilippo](https://github.com/antirez/kilo) +* [ANSI_escape_code wiki](https://en.wikipedia.org/wiki/ANSI_escape_code) +* [VT100 user guide](https://vt100.net/docs/vt100-ug/chapter3.html) \ No newline at end of file diff --git a/lite b/lite new file mode 100755 index 0000000..e9390b0 Binary files /dev/null and b/lite differ diff --git a/editor.c b/lite.c similarity index 100% rename from editor.c rename to lite.c diff --git a/logo.png b/logo.png deleted file mode 100644 index a95feae..0000000 Binary files a/logo.png and /dev/null differ