firede / msee

Msee is a command-line tool to read markdown file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Line breaks accommodate better for non-roman languages

martinheidegger opened this issue · comments

English, Spanish, etc. and more languages are separating words which makes pretty-okay word-wraps relatively easy. In east-asian languages that is not necessarily the case. Japanese and Chinese as most prominent examples. It would be great if the msee could support advanced line breaks of those languages as well.

In the following example: there is japanese text that has a "foreign" word written in Katakana `テキスト`right before a japanese word "です".

screen shot 2016-11-15 at 2 30 16

msee currently breaks the words in the middle of です. An implementation could do better by breaking just before です.