From a8064f739e218cdc3ab68bfd88fe03d38ffd7257 Mon Sep 17 00:00:00 2001 From: Jack Haden-Enneking Date: Fri, 18 Mar 2022 14:13:21 -0700 Subject: [PATCH] re-add pre tags to support \n in prompt #2880 was merged after #2968, causing a regression of #2520. This reapplies the small change from #2968 (thank you @phyzical). --- src/ui/React/PromptManager.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/React/PromptManager.tsx b/src/ui/React/PromptManager.tsx index ae26da27c..41f97e0ff 100644 --- a/src/ui/React/PromptManager.tsx +++ b/src/ui/React/PromptManager.tsx @@ -52,7 +52,9 @@ export function PromptManager(): React.ReactElement { return ( - {prompt.txt} +
+        {prompt.txt}
+      
);