Compare commits

..

No commits in common. "25eb62968b4112baa786c1165859fb6a1303acd1" and "755daf7c8d21e432cad03426cf7c1be6152683a4" have entirely different histories.

3 changed files with 6 additions and 16 deletions

View File

@ -26,7 +26,10 @@ module.exports = (argv, terminal) => {
terminal.write('\033[35m' + i + ' |\033[0m '); terminal.write('\033[35m' + i + ' |\033[0m ');
}) })
} else { } else {
terminal.write(lines.join('\n')); terminal.write(file);
/// print % if no newline at eof
if (lines[lines.length - 1] != '')
terminal.write('\033[30;47m%\033[0m\n');
} }
}) })
} }

View File

@ -1,6 +1,6 @@
module.exports = { module.exports = {
'/skills/web': ` '/skills/web': `
\x1b[1mMy web experience\x1b[0m My web experience
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,15 +8,5 @@ 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`
} }

View File

@ -69,9 +69,6 @@ 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;
} }