From 19317346946c2abe4d838a1d785c866ed8076131 Mon Sep 17 00:00:00 2001 From: phyzical Date: Sun, 13 Feb 2022 18:49:24 +0800 Subject: [PATCH] added pre tags to support \n --- 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 113131812..c2561bc00 100644 --- a/src/ui/React/PromptManager.tsx +++ b/src/ui/React/PromptManager.tsx @@ -42,7 +42,9 @@ export function PromptManager(): React.ReactElement { <> {prompt != null && ( - {prompt.txt} +
+            {prompt.txt}
+