aboutsummaryrefslogtreecommitdiff
path: root/src/prompt.rs
Commit message (Collapse)AuthorAgeFilesLines
* Split input line on ':'Aqua-sama2020-10-181-1/+2
|
* Use crates.io/rustyline as readlineAqua-sama2020-10-131-17/+4
|
* Add dummy SIGINT handlerAqua-sama2020-10-111-1/+1
|
* Properly read username and hostnameAqua-sama2020-10-111-29/+20
| | | | | | | username is read by using libc::getuid, and checking /etc/passwd for the uid and getting the username from there hostname is read from /proc/sys/kernel/hostname
* Make Prompt more constAqua-sama2020-10-111-25/+29
|
* Initial commitAqua-sama2020-09-211-0/+57