Finish move from index to terminal

This commit is contained in:
2022-09-30 19:38:25 +02:00
parent 995cfc5aea
commit a7cc473f53
18 changed files with 21 additions and 14 deletions

View File

@ -1,7 +1,7 @@
import { NextPage } from "next";
import Link from "next/link";
import type { BaseSyntheticEvent, MutableRefObject } from "react";
import styles from "../../../styles/REPL/REPLHistory.module.css";
import styles from "../../../styles/Terminal/REPL/REPLHistory.module.css";
interface REPLHistoryParams {
history: string[];

View File

@ -1,7 +1,7 @@
import type { NextPage } from "next";
import { MutableRefObject, useState, createRef, useEffect } from "react";
import { CommandInterface } from "../../../lib/commands";
import styles from "../../../styles/REPL/REPLInput.module.css";
import styles from "../../../styles/Terminal/REPL/REPLInput.module.css";
import { useCommands } from "../../../lib/commands/ContextProvider";
import { useModalFunctions } from "../contexts/ModalFunctions";

View File

@ -1,9 +1,9 @@
import { MutableRefObject, useEffect, useRef, useState } from "react";
import REPLInput from "./REPLInput";
import REPLHistory from "./REPLHistory";
import styles from "../../../styles/REPL/REPLComplete.module.css";
import styles from "../../../styles/Terminal/REPL/REPLComplete.module.css";
import type { NextPage } from "next";
import { useCommands } from "../../../lib/commands/ContextProvider";
// import { useCommands } from "../../../lib/commands/ContextProvider";
interface IREPLProps {
inputRef: MutableRefObject<HTMLInputElement|null>;