Skip to content

SamraatBansal/Rust-Text-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Text Editor

This is a Terminal based App implemented using Rust

Using CrossTerm crate to get easy access of the Raw Terminal

#Features

  • MVP Cursor Movment Enter/Edit Text in file by Reading user input Prompt Message Bar

  • Control Functions CTRL+Q -> Quit the file, If you have unsaved changes - Repeat 3 times (Configurable in QUIT_TIMES constant) CTRL+S -> Save the file, If its a new file - Implements Save As, and ESC to come out of the prompt. CTRL+N -> Create new instance of the terminal with new file

  • Utility PageUp PageDn home - Line Beginning end - Line End

To use, clone the repository and execute

cargo run --release

You can also pass a file name as an argument. For instance

cargo run --release /src/main.rs

About

A terminal App powered with Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages