Just Another Terminal-based Editor (JATE) is an attempt to make a fully functional bare bones text editor in C ( without any dependencies by directly manipulating terminal via VT100 escape sequences )
Insipred from kilo text editor
The editor can now :
- View already existing file on the system.
- Edit a text file
- Check if the file is in modified state or not ( and warn if you try to exit a modified file without saving )
- Save chagnes to the open file ( using
Ctrl-s
) - Quit (using
Ctrl-q
)
But still it can't :
- Create a new file
- Save a blank file ( Save-as feature )
- support text highlithing for C/C++
Linux, macOS, windows(with cygwin)
-
git clone or download
-
navigate to the repository
-
run a
make
command on your terminal to compile source ( if you don't have gnu-make then you can also manually compile the source code (src/editor.c) with a standard C compiler ) -
run exectuatable with the name
editor
$ cd text-editor
$ make
$ ./editor <optional: file name that you want to open>