Made a basic TTY system.

This commit is contained in:
yuanhau 2025-05-15 11:37:55 +08:00
parent 62ecea8aa3
commit ef163b6174
4 changed files with 26 additions and 5 deletions

View file

@ -1,8 +1,16 @@
<script setup lang="ts">
import { Input } from "~/components/ui/input";
const commandInputBox = ref();
</script>
<template>
<div>
<Input />
<div class="text-white">
<div class="flex flex-row">
<span class="mx-1">></span
><input
v-model="commandInputBox"
type="text"
class="border-none bg-black outline-0 w-full text-wrap"
@keyup.enter="console.log(commandInputBox)"
/>
</div>
</div>
</template>