run: truncate prompt

This commit is contained in:
Dax Raad
2025-07-07 16:41:28 -04:00
parent 2c4a516b47
commit 2a750c2333
+2 -1
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()