flèches, backspace, insertion fonctionnent

This commit is contained in:
Justine
2022-12-28 12:39:43 +01:00
parent e9d9db1f08
commit 4581d4f0f6
2 changed files with 96 additions and 38 deletions

View File

@ -1,12 +1,6 @@
# Sqish
Rust Shell. This is an attempt to create a simple shell in Rust, because why not.
!!! LOOK into the pty crate to handle pseudoterminals such as in top or ssh
My starting point is [this article](https://www.joshmcguigan.com/blog/build-your-own-shell-rust/) which is excellent. I will start with the final form of a shell given in the article and try to reformat it:
* Make it more easy to extend
* Make it a lib
I can also add basic features:
* customizable prompt
* Colours ?
Later, I can even make something useful out of it. For example, I could make it so that it is configurable via a config file. I could make it the default terminal via ssh for some user and make it so the terminal opens directly in a docker container, or chrooted or smthing, as a basic form of honeypot.