Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.24 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.24 KB

Script-Pad

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.

Prerequisites

Purpose/Goal

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.

Installation

  1. Clone the repository:

    git clone https://github.com/Adrian-py/ScriptPadt
  2. Navigate to the project directory:

    cd script-pad
  3. Build the project:

    cargo build
  4. 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