Skip to content

Commit

Permalink
Fixed commands not including newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
hyldmo committed Feb 5, 2021
1 parent 8f50d31 commit bee9d9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/components/Device/Commands.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const Commands: React.FunctionComponent<Props> = (props) => {
break

default:
onSend && onSend(commands[line])
onSend && onSend(`${commands[line]}\n`)
nextLine = line + 1
break
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "prettycom",
"repository": "https://github.com/hyldmo/prettycom",
"version": "1.11.1",
"version": "1.11.2",
"description": "A serial monitor written in electron.",
"license": "MIT",
"author": {
Expand Down

0 comments on commit bee9d9a

Please sign in to comment.