Home > @rushstack/terminal > PrintUtilities > printMessageInBox
PrintUtilities.printMessageInBox() method
Displays a message in the console wrapped in a box UI.
Signature:
static printMessageInBox(message: string, terminal: ITerminal, boxWidth?: number): void;
Parameters
Parameter | Type | Description |
---|---|---|
message | string | |
terminal | ITerminal | |
boxWidth | number | (Optional) The width of the box, defaults to half of the console width. |
Returns:
void