Finish move from index to terminal
This commit is contained in:
@ -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[];
|
||||
|
@ -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";
|
||||
|
||||
|
@ -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>;
|
||||
|
Reference in New Issue
Block a user