Compare commits
2 Commits
755daf7c8d
...
25eb62968b
Author | SHA1 | Date |
---|---|---|
b1ek | 25eb62968b | |
b1ek | a00a16e39d |
|
@ -26,10 +26,7 @@ module.exports = (argv, terminal) => {
|
||||||
terminal.write('\033[35m' + i + ' |\033[0m ');
|
terminal.write('\033[35m' + i + ' |\033[0m ');
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
terminal.write(file);
|
terminal.write(lines.join('\n'));
|
||||||
/// print % if no newline at eof
|
|
||||||
if (lines[lines.length - 1] != '')
|
|
||||||
terminal.write('\033[30;47m%\033[0m\n');
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
'/skills/web': `
|
'/skills/web': `
|
||||||
My web experience
|
\x1b[1mMy web experience\x1b[0m
|
||||||
I don't really know anything about web development,
|
I don't really know anything about web development,
|
||||||
but I have some projects which are presented below:
|
but I have some projects which are presented below:
|
||||||
|
|
||||||
|
@ -8,5 +8,15 @@ blek! Site: Second rewrite of my website. https://github.com/b1ek/blekSite
|
||||||
blek! ID: An auth server. https://github.com/b1ek/blekID
|
blek! ID: An auth server. https://github.com/b1ek/blekID
|
||||||
blek! Bin: A pastebin alternative. https://git.blek.codes/blek/bin
|
blek! Bin: A pastebin alternative. https://git.blek.codes/blek/bin
|
||||||
homepage.js: Third rewrite of my website. https://git.blek.codes/blek/homepage.js
|
homepage.js: Third rewrite of my website. https://git.blek.codes/blek/homepage.js
|
||||||
`
|
`,
|
||||||
|
'/skills/nt': `
|
||||||
|
Me native dev experience
|
||||||
|
It isn't much but i do have a couple of projects
|
||||||
|
(most of my native work is toy projects)
|
||||||
|
|
||||||
|
CuteSchedule A school project that is
|
||||||
|
supposed to be a interactive https://github.com/b1ek/CuteSchedule
|
||||||
|
schedule menu hanging on
|
||||||
|
a TV
|
||||||
|
f2bin Convert files into C code https://github.com/b1ek/f2bin`
|
||||||
}
|
}
|
|
@ -69,6 +69,9 @@ function exec_cmd() {
|
||||||
|
|
||||||
if (cmds[command] != undefined) {
|
if (cmds[command] != undefined) {
|
||||||
cmds[command](c.split(' '), terminal);
|
cmds[command](c.split(' '), terminal);
|
||||||
|
if (terminal.buffer.active.cursorX != 0) {
|
||||||
|
terminal.write('\033[30;47m%\033[0m\n');
|
||||||
|
}
|
||||||
print_prompt();
|
print_prompt();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue