Skip to content

Commit

Permalink
Update LibModbus.jl
Browse files Browse the repository at this point in the history
No need to use `printstyled()` after disabling color change.
  • Loading branch information
kagalenko-m-b authored Jun 1, 2023
1 parent 95e476d commit 69d82a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LibModbus.jl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function Base.show(io::IO, ctx::ModbusContext)
else
str *= "()"
end
printstyled(io, str)
print(io, str)
end

function Base.setproperty!(ctx::ModbusContext, name::Symbol, x)
Expand Down

0 comments on commit 69d82a3

Please sign in to comment.