codersauce/red

Multibyte character support

Opened this issue · 3 comments

git clone https://github.com/torvalds/uemacs.git
cd uemacs
red UTF-8-demo.txt
:28
<Right><Right><Right>
i
f
panicked at /rustc/a2d9d73e608f1b24eba840c4fd2d68dbe3b65e01/library/alloc/src/string.rs:1643:9:
assertion failed: self.is_char_boundary(idx)

❯ echo $status
101

Thanks for reporting.

Acknowledged and replicated here, I'll get there eventually :-)

Good luck! I've also started working on my own tui editor, so it's a lot of fun watching your streams on yt :) It would be interesting to see your solutions to some problems I might encounter later. Keep this project going!

Thank you for the kind comments and good luck on yours as well :-)