This project serve as my version of a terminal based text editor tutorial by Philipp Flenker titled hecto: Build Your Own Text Editor in Rust built in Rust utilizing crossterm for key terminal operations.
- Rust and Cargo: Version 0.28.1 or higher. Download Rust
The main purpose or goal behind the creation of this project is for my learning journey, where I aimed to attempt creating a text editor and learn the nooks and crannies that comes with creating a text editor (regardless of the technology used). Furthermore, this project also serves as a way to improve my understanding in Rust and imrpove my problem solving skills.
-
Clone the repository:
git clone https://github.com/Adrian-py/ScriptPadt
-
Navigate to the project directory:
cd script-pad
-
Build the project:
cargo build
-
Run the project:
Default run command (will display welcome page):cargo run
Open a specific txt file (example files located in the ./example-texts folder):
cargo run -- ./example-texts/example.txt