Skip to content

Commit

Permalink
Update single-line logic of PrettyPrinter to improve 'toString' repre…
Browse files Browse the repository at this point in the history
…sentation of protocol entities

Before the fix: LxMouseEvent (type = EnteredxAbs = 640yAbs = 512clickCount = 0causedByTouchEvent = falsebutton = 0popupTrigger = falsemodifiers = 0)
After the fix: LxMouseEvent ( type = Moved xAbs = 870 yAbs = 632 clickCount = 0 causedByTouchEvent = false button = 0 popupTrigger = false modifiers = 0 )
  • Loading branch information
JB-Dmitry committed Mar 14, 2024
1 parent 4e3bffa commit ed4bba2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ enum class Eol(val value: String) {
linux ("\n"),
windows ("\r\n"),
osSpecified (eol),
none("")
none(" ")
}

inline fun printer(content: PrettyPrinter.() -> Unit) = PrettyPrinter().apply(content)
Expand Down

0 comments on commit ed4bba2

Please sign in to comment.