move terminal.ts
and keys.ts
into the emulator folder
This commit is contained in:
@ -56,6 +56,6 @@
|
|||||||
</style>
|
</style>
|
||||||
</noscript>
|
</noscript>
|
||||||
</footer>
|
</footer>
|
||||||
<script type="module" src="./rt/terminal.ts"></script>
|
<script type="module" src="./rt/emulator/terminal.ts"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -1,5 +1,5 @@
|
|||||||
import run from "./shell/command/command"
|
import run from "../shell/command/command"
|
||||||
import history from "./shell/history"
|
import history from "../shell/history"
|
||||||
|
|
||||||
type InputClosure = (key_event: KeyboardEvent) => void
|
type InputClosure = (key_event: KeyboardEvent) => void
|
||||||
interface EnterArgs {
|
interface EnterArgs {
|
@ -1,5 +1,5 @@
|
|||||||
import history from "./shell/history"
|
import history from "../shell/history"
|
||||||
import prompt from "./elements/prompt"
|
import prompt from "../elements/prompt"
|
||||||
import keys from "./keys"
|
import keys from "./keys"
|
||||||
|
|
||||||
const term_win_unsafe = document.querySelector("main")
|
const term_win_unsafe = document.querySelector("main")
|
Reference in New Issue
Block a user