diff options
| author | YummyOreo <bobgim20@gmail.com> | 2024-07-10 12:43:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-10 18:43:18 +0100 |
| commit | 256a81a17aa915c9f97440bf6487b068cfba5acf (patch) | |
| tree | 5abf3e768cdd34404f8e54c78c6e70ae3b1e0871 /ui/src/components/runbooks/editor/blocks | |
| parent | chore(deps): Replace cli-clipboard with arboard (#2067) (diff) | |
| download | atuin-256a81a17aa915c9f97440bf6487b068cfba5acf.zip | |
fix(gui): add \r for windows (shouldn't effect unix bc they should ignore it) (#2253)
Diffstat (limited to 'ui/src/components/runbooks/editor/blocks')
| -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 }); } }; |
