Some code reformat

This commit is contained in:
Justine
2023-03-01 00:37:05 +01:00
parent b5ef54c8f4
commit aec1641024
2 changed files with 79 additions and 59 deletions

View File

@ -15,6 +15,7 @@ Sqish is now my default shell on my home computer, and I'll keep adding features
Also keep in mind I'm a beginner in Rust, so the code is pretty dirty; I will probably come around to reformating it once I have all the features I want and ironed out all the bugs.
TODO:
* Before anything : keep reformating the code. The main loop could use a struct containing current_pos, max_pos, etc.
* Allow redirecting >> to the end of a file ?
* Allow && in commands ?
* Improve word jumping