qol
This commit is contained in:
parent
d9a80257f8
commit
789417a1ea
2 changed files with 7 additions and 1 deletions
|
|
@ -12,6 +12,11 @@
|
||||||
</script>
|
</script>
|
||||||
<script src="./web/pyodide_dev.js"></script>
|
<script src="./web/pyodide_dev.js"></script>
|
||||||
<!--<script src="./raylet.js"></script>-->
|
<!--<script src="./raylet.js"></script>-->
|
||||||
|
<style>
|
||||||
|
.terminal {
|
||||||
|
--size: 2;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -23,7 +28,7 @@
|
||||||
var term = $('body').terminal(
|
var term = $('body').terminal(
|
||||||
pushCode,
|
pushCode,
|
||||||
{
|
{
|
||||||
greetings: "Welcome to the Pyodide terminal emulator 🐍",
|
greetings: "Python 3.8.2 (default, Dec 3 2020, 06:19:03) 🐍\n[Clang 6.0.1 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com",
|
||||||
prompt: "[[;red;]>>> ]"
|
prompt: "[[;red;]>>> ]"
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
<body>
|
<body>
|
||||||
<h1>Clap if you believe in fairies...</h1>
|
<h1>Clap if you believe in fairies...</h1>
|
||||||
<h2 id="status">Status: starting...</h2>
|
<h2 id="status">Status: starting...</h2>
|
||||||
|
<h3><a href="console.html" target="_blank">Open a console</a></h3>
|
||||||
<div id="output">
|
<div id="output">
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue