Added elems to store terminal variables

This commit is contained in:
Justine
2023-03-01 17:00:43 +01:00
parent aec1641024
commit 9e1d0dfcde
2 changed files with 148 additions and 137 deletions

View File

@ -15,7 +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.
* Use elems in all function, subdivide Keys actions into functions taking termelems.
* Allow redirecting >> to the end of a file ?
* Allow && in commands ?
* Improve word jumping