-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7dca579
commit 6f998f7
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>MicroPython Terminal</title> | ||
<script src="../mini-coi.js"></script> | ||
<script type="module" src="https://cdn.jsdelivr.net/npm/@pyscript/[email protected]/dist/core.js"></script> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@pyscript/[email protected]/dist/core.css"> | ||
<style> | ||
html, body { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
.xterm { | ||
padding: 0; | ||
width: 100vw; | ||
height: 100vh; | ||
width: 100dvw; | ||
height: 100dvh; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<script type="mpy" worker terminal> | ||
import code | ||
code.interact() | ||
</script> | ||
</body> | ||
</html> |