Library inspired by https://github.com/mattn/go-runewidth and https://github.com/rivo/uniseg to handle the width and segmenting of Unicode runes and graphemes
Find a file
2024-03-02 14:12:31 -05:00
doc Initial commit 2024-02-29 13:03:58 -05:00
runewidth remove the pks! 2024-03-02 14:02:32 -05:00
scripts Add emoji and actually get east asian generator working 2024-03-02 13:37:54 -05:00
tests Reorganize, fix a bug with string shared 2024-03-02 14:00:05 -05:00
.gitignore Add emoji and actually get east asian generator working 2024-03-02 13:37:54 -05:00
COPYING Initial commit 2024-02-29 13:03:58 -05:00
guix.scm Add emoji and actually get east asian generator working 2024-03-02 13:37:54 -05:00
HACKING Initial commit 2024-02-29 13:03:58 -05:00
hall.scm Remove empty file 2024-03-02 14:04:34 -05:00
README Initial commit 2024-02-29 13:03:58 -05:00
README.org Update readme with basic intro 2024-03-02 14:12:31 -05:00

README for Guile Reflow

guile-reflow is a simple Guile library for wrapping text in terminals. It integrates with guile's port system and provides an API that allows for easy creation of ports with a restricted line width.

The library attempts to be compatible with non-ascii characters and emoji, using the companion library `guile-runewidth` to determine the best guess at rune widths (a notoriously difficult task to accomplish accurately!).

This library is heavily inspired by the golang library `reflow`.