aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysbin/shell/main.c')
-rw-r--r--src/sysbin/shell/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sysbin/shell/main.c b/src/sysbin/shell/main.c
index b093430..e35d700 100644
--- a/src/sysbin/shell/main.c
+++ b/src/sysbin/shell/main.c
@@ -53,9 +53,11 @@ int main(int argc, char **argv) {
while(true) {
char buf[256];
- printf("\n%s> ", getcwd(buf, 256));
+ printf("\n\e[36m%s>\e[33m ", getcwd(buf, 256));
getline(buf, 256);
+
+ printf("\e[39m");
if (!strncmp(buf, "cd ", 3)) {
chdir(buf + 3);
} else if (!strcmp(buf, "ls")) {