- Update dependencies to latest version, solving golang.org/x/text security issue (CVE-2021-38561)
- Add new API to format text to an io.Writer
- Add LazyTab extending LazyTab facilities to simplify API.
- Add LazyWrap and visual.LazyCut to handle long words (like URL) waiting for a better solution for splitting such words.
- Major refactor and rewrite of code that breaks API but hopefully simplify code, add new features and solve some bugs.
- FIX bug that panic when drawing an empty table.
- FIX bug when wrapping ANSI-formatted text into table columns.
- FIX bug in diff ByLines tokenizer that were adding uneeded '\n'.
- FIX bug in Table where empty columns where not properly managed.
- Simplify Table API by deleting non used wrapper around NewTable.
- Add a flag to select whether wrap - and functions based on wrap - should cut long words that excede line limits or not.
- FIX a bug when wrapping line with "words" that are longer than the line limit (flush was not properly done)
- remove dependency to github.com/primd/verify to avoid further cyclic import issue
- FIX bug when formatting table column that need interrupting ANSI formatting at the end of each lines of a table cell (ANSI ofrmatting interruption need to happen before padding a line with space to reach expected column width)
- remove broken diff algorithms and replace it by a brand new diff sub-module that supports LCS and Patience diff.
- gather all logic related to ANSI escape sequence management in a dedicated sub-module
- improve table, wrap, truncate, justify... and affiliated functions to cleanly terminate interrupted ANSI sequences
- separate text from rest of github.com/pirmd/cli and github.com/pirmd/cli/style repositories
- add support for table's horizontal separators
- add a new DrawTable() function
- add a new TabWithBullet() function
- rename Table.Title() to Table.Captions(), which should hopefully be less misleading
- correct BUG where text.Indent() and text.Wrap() where not accepting non visible chars (like AINSI colors). It also modified text.Indent() and text.Tab() api: prefix is a string and not a []byte
- allow command exxecution if no args have been specified by user
- wraping, justifying, table, text diff formatting