import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
export function userCommandText(command) {
    const trimmed = command.trim();
    return trimmed.startsWith("/") ? trimmed : `/${trimmed}`;
}
export function UserCommandMessage(props) {
    return _jsx(Text, { color: "cyan", children: userCommandText(props.command) });
}
