diff --git a/src/Explorer/Tabs/CloudShellTab/CloudShellTerminalComponent.tsx b/src/Explorer/Tabs/CloudShellTab/CloudShellTerminalComponent.tsx index ee39c80c9..368bf7207 100644 --- a/src/Explorer/Tabs/CloudShellTab/CloudShellTerminalComponent.tsx +++ b/src/Explorer/Tabs/CloudShellTab/CloudShellTerminalComponent.tsx @@ -36,6 +36,7 @@ export const CloudShellTerminalComponent: React.FC /dev/null`; + export const END_MARKER = `echo "END INITIALIZATION" > /dev/null`; + + // Terminal message formatting functions + export const formatInfoMessage = (message: string): string => + `${TERMINAL_COLORS.BRIGHT}${TERMINAL_COLORS.CYAN}${message}${TERMINAL_COLORS.RESET}`; + + export const formatSuccessMessage = (message: string): string => + `${TERMINAL_COLORS.BRIGHT}${TERMINAL_COLORS.GREEN}${message}${TERMINAL_COLORS.RESET}`; + + export const formatWarningMessage = (message: string): string => + `${TERMINAL_COLORS.BRIGHT}${TERMINAL_COLORS.YELLOW}${message}${TERMINAL_COLORS.RESET}`; + + export const formatErrorMessage = (message: string): string => + `${TERMINAL_COLORS.BRIGHT}${TERMINAL_COLORS.RED}${message}${TERMINAL_COLORS.RESET}`; + \ No newline at end of file