Elffuss BraidHub

kikocis/continue public

show empty message for empty terminal for terminal context provider
Changeset2d70e3ea78cf44273201e8e12e435b19c8616e72dc155f08b912683e52ea8063
AuthorDallin Romney <dallinromney@gmail.com> · 2025-06-27 18:01 -07:00
CommitterDallin Romney <dallinromney@gmail.com> · 2025-06-27 18:01 -07:00
Parentse8b350836f56

Browse the files at this changeset

1 file changed

modified core/context/providers/TerminalContextProvider.ts +3 −1
@@ -21,7 +21,9 @@
2121 return [
2222 {
2323 description: "The contents of the terminal",
24- content: `Current terminal contents:\n\n${content}`,
24+ content: `Current terminal contents:\n\n${
25+ content || "The terminal is empty."
26+ }`,
2527 name: "Terminal",
2628 },
2729 ];