mqttui icon indicating copy to clipboard operation
mqttui copied to clipboard

refactor: update to ratatui v0.29

Open EdJoPaTo opened this issue 1 year ago • 3 comments

A fix in unicode-width 0.1.13 introduces buggy behavior in ratatui rendering. MQTT topics which publish with control sequences (like espHome devices on /debug do) cause the rendering to be off. Block borders are rendered on wrong positions and colors leak into wrong positions including the next line. (See https://github.com/ratatui/ratatui/issues/1211)

This should be fixed before updating to unicode-width >=0.1.13 (and therefore ratatui > 0.26).

EdJoPaTo avatar Jul 09 '24 21:07 EdJoPaTo

Wait for a release which includes https://github.com/ratatui-org/ratatui/pull/1226

Until then af67ef0029acf1ae9a8269b58978eb41f725d577 prevents these glitches from happening.

EdJoPaTo avatar Jul 30 '24 10:07 EdJoPaTo

GitHub GUI branch rename pushes it and deletes the old one, killing the PR… hoped for something more useful… :unamused:

EdJoPaTo avatar Aug 07 '24 14:08 EdJoPaTo

Wait for a ratatui release which includes https://github.com/ratatui-org/ratatui/pull/1312 :clown_face:

EdJoPaTo avatar Aug 07 '24 15:08 EdJoPaTo