Skip to content

Commit ee5f3b4

Browse files
committed
feat: echo command
1 parent 5bb1e21 commit ee5f3b4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/terminal/TerminalPromptInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const TerminalPromptInput: FC<TerminalPromptInputProps> = ({ onEnter }) => {
3434
setInput(e.target.value);
3535
setCaretPosition(e.target.selectionStart ?? 0);
3636
}}
37-
className="w-full whitespace-nowrap bg-transparent p-0 text-kali-white text-transparent focus:outline-none"
37+
className="w-full cursor-default whitespace-nowrap bg-transparent p-0 text-kali-white text-transparent focus:outline-none"
3838
/>
3939
<div
4040
className={twMerge(

src/lib/commands.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ const COMMANDS: Record<string, (username: string, args: string[]) => string> = {
102102
My focus on delivering high-quality applications is fueled by a genuine interest in leading technologies, particularly <b>React</b>, <b>TypeScript</b>, and <b>Node.js</b>. Leveraging hands-on experience with various JavaScript frameworks and libraries <b>(Next.js, Express, NestJS, etc.)</b> within the React and Node.js ecosystem, I bring a versatile skill set to every project.
103103
104104
I also enjoy showing off my skills in <b>various competitions</b>. My most notable achievement is my participation in the prestigious <b>WorldSkills</b> competitions, where I won a <b>gold medal in Web Technologies category</b>, making me a <b>world champion</b>.`,
105+
echo: (_, args) => args.join("&nbsp;"),
105106
};
106107

107108
const COMMAND_NAMES = [...Object.keys(COMMANDS), "clear", "help"].sort((a, z) =>

0 commit comments

Comments
 (0)