SQLcl history (up-arrow) rewrites my queries
Yup, I see that, it's a bug. Will log it and we can hope for a fix in version 19.4.

Just a quick note, you're missing out on features available in versions 19.1, 19.2, and soon to be version 19.3.