diff options
| -rw-r--r-- | ui/src/components/runbooks/editor/blocks/RunBlock/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/runbooks/editor/blocks/RunBlock/index.tsx b/ui/src/components/runbooks/editor/blocks/RunBlock/index.tsx index a5697234..78928876 100644 --- a/ui/src/components/runbooks/editor/blocks/RunBlock/index.tsx +++ b/ui/src/components/runbooks/editor/blocks/RunBlock/index.tsx @@ -56,7 +56,7 @@ const RunBlock = ({ onPlay, id, code, isEditable }: RunBlockProps) => { setPty(pty); console.log(pty); - let val = !value.endsWith("\n") ? value + "\n" : value; + let val = !value.endsWith("\n") ? value + "\r\n" : value; await invoke("pty_write", { pid: pty, data: val }); } }; |
