Compare commits
2 Commits
7e7791b828
...
f790041042
Author | SHA1 | Date |
---|---|---|
b1ek | f790041042 | |
b1ek | c6f39c986d |
|
@ -5,3 +5,5 @@ dist
|
|||
|
||||
*.log
|
||||
*.tmp
|
||||
|
||||
*cache*
|
|
@ -7,6 +7,7 @@
|
|||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"assert": "^2.0.0",
|
||||
"buffer": "^5.5.0",
|
||||
"events": "^3.1.0",
|
||||
"parcel": "^2.8.3",
|
||||
"parcel-namer-without-hash": "^0.0.1",
|
||||
|
|
|
@ -10,6 +10,7 @@ let cmds = {
|
|||
'export_file': require('./export_file'),
|
||||
'import_file': require('./import_file'),
|
||||
'zsh': require('./zsh'),
|
||||
'ps': require('./ps'),
|
||||
|
||||
// alias l='ls -l'
|
||||
'l': (a,t) => {require('./ls')([...a, '-l'], t)},
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
const { Terminal } = require("xterm");
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {string[]} argv
|
||||
* @param {Terminal} terminal
|
||||
*/
|
||||
module.exports = (argv, terminal) => {
|
||||
if (argv.indexOf('--help') != -1) {
|
||||
terminal.write(
|
||||
`Usage: ${argv[0]} [OPTIONS]
|
||||
Show current process list`);
|
||||
return;
|
||||
}
|
||||
terminal.write(
|
||||
`\tPID\tTTY\tTIME\tCMD
|
||||
42\tpts/0\t00:00:00\tzsh
|
||||
43\tpts/0\t00:00:00\tps
|
||||
`);
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<title>resume.js</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="rootstyle.css" />
|
||||
<link rel="stylesheet" href="standalone_page.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../../../public/static/ui/resume.css
|
|
@ -0,0 +1,13 @@
|
|||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div#resume_js_app {
|
||||
background: #212121;
|
||||
position: fixed;
|
||||
top:0;left:0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 16px 10px;
|
||||
}
|
Loading…
Reference in New Issue