712c1537ad
Fix incorrect width estimation of ascii control characters
2025-02-28 14:29:53 +01:00
423dd100c1
Add unicode-based grapheme width estimation method
2025-02-23 18:36:42 +01:00
77a02116a6
Fix grapheme width estimation
...
I'm pretty sure it still breaks in lots of terminal emulators, but it
works far better than what recent versions of the unicode_width crate
were doing.
2025-02-20 22:10:11 +01:00
1618264cb7
Fix newlines causing bad rendering artifacts
...
The unicode-width crate has started to consider newlines to have a width
of 1 instead of 0.
2025-02-20 22:08:37 +01:00
8556fd8176
Fix control character width measurement
2024-04-25 19:46:10 +02:00
e3365fdc02
Improve WidthDb documentation
2023-02-17 13:35:28 +01:00
6ed47ad916
Rename WidthDB to WidthDb
2022-09-26 17:01:49 +02:00
f258c84094
Expose Widthdb directly via Frame
2022-09-26 17:00:46 +02:00
31bb2de87b
Make WidthDB tab-width-aware
2022-08-04 02:18:18 +02:00
333cf74fba
Make width measuring optional and disabled by default
2022-06-08 17:38:38 +02:00
6b9e4cbc63
Ignore graphemes of width 0 when writing to buffer
2022-05-29 13:18:39 +02:00
3b2ea37ba5
Get individual grapheme's width
2022-05-29 13:18:25 +02:00
833defd1ce
Document WidthDB
2022-05-29 13:18:25 +02:00
9512ddaa3b
Measure actual width of displayed characters
2022-05-29 13:18:25 +02:00