diff --git a/src/Terminal/ui/TerminalInput.tsx b/src/Terminal/ui/TerminalInput.tsx
index 6b40648a3..dc6ea49a6 100644
--- a/src/Terminal/ui/TerminalInput.tsx
+++ b/src/Terminal/ui/TerminalInput.tsx
@@ -4,7 +4,7 @@ import { Theme } from "@mui/material/styles";
import makeStyles from "@mui/styles/makeStyles";
import createStyles from "@mui/styles/createStyles";
import TextField from "@mui/material/TextField";
-import Paper from "@mui/material/Paper";
+import Tooltip from "@mui/material/Tooltip";
import { KEY } from "../../utils/helpers/keyCodes";
import { ITerminal } from "../ITerminal";
@@ -18,7 +18,6 @@ const useStyles = makeStyles((theme: Theme) =>
createStyles({
textfield: {
margin: theme.spacing(0),
- width: "100%",
},
input: {
backgroundColor: "#000",
@@ -330,40 +329,46 @@ export function TerminalInput({ terminal, router, player }: IProps): React.React
return (
<>
- {possibilities.length > 0 && (
-
-
- Possible autocomplete candidate:
-
-
- {possibilities.join(" ")}
-
-
- )}
- 0 ? (
<>
+
+ Possible autocomplete candidate:
+
+
+ {possibilities.join(" ")}
+
+ >
+ ) : (
+ ""
+ )
+ }
+ >
+
[{player.getCurrentServer().hostname} ~{terminal.cwd()}]>
- >
- ),
- spellCheck: false,
- onKeyDown: onKeyDown,
- }}
- >
+ ),
+ spellCheck: false,
+ onKeyDown: onKeyDown,
+ }}
+ >
+
>
);
}