Skip to content

Commit

Permalink
fix(plc4xbrowser): fixed command escaping when using brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Aug 5, 2022
1 parent 55397a5 commit 5ce93fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plc4go/tools/plc4xbrowser/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func initSubsystem() {
func outputCommandHistory() {
_, _ = fmt.Fprintln(commandOutput, "[#0000ff]Last 10 commands[white]")
for i, command := range config.History.Last10Commands {
_, _ = fmt.Fprintf(commandOutput, " [#00ff00]%d[white]: [\"%d\"]%s[\"\"]\n", i, i, command)
_, _ = fmt.Fprintf(commandOutput, " [#00ff00]%d[white]: [\"%d\"]%s[\"\"]\n", i, i, tview.Escape(command))
}
}

Expand Down

0 comments on commit 5ce93fb

Please sign in to comment.