diff --git a/src/Terminal/ui/TerminalRoot.tsx b/src/Terminal/ui/TerminalRoot.tsx index 5768ee553..55db94755 100644 --- a/src/Terminal/ui/TerminalRoot.tsx +++ b/src/Terminal/ui/TerminalRoot.tsx @@ -159,6 +159,7 @@ export function TerminalRoot({ terminal, engine, player }: IProps): React.ReactE // Run command. if (event.keyCode === KEY.ENTER && value !== "") { event.preventDefault(); + terminal.print(`[${player.getCurrentServer().hostname} ~${terminal.cwd()}]> ${value}`); terminal.executeCommands(engine, player, value); setValue(""); return;