run: truncate prompt

This commit is contained in:
Dax Raad 2025-07-07 16:41:28 -04:00
parent 0f93ecd564
commit 27f7e02f12

View file

@ -81,7 +81,8 @@ export const RunCommand = cmd({
UI.empty()
UI.println(UI.logo())
UI.empty()
UI.println(UI.Style.TEXT_NORMAL_BOLD + "> ", message)
const displayMessage = message.length > 300 ? message.slice(0, 300) + "..." : message
UI.println(UI.Style.TEXT_NORMAL_BOLD + "> ", displayMessage)
UI.empty()
const cfg = await Config.get()