Commit Graph

2 Commits

Author SHA1 Message Date
2bd231b84f
Fix Makefile dependencies, extend tests
All checks were successful
Alpine 3.20 Success
2024-12-26 00:40:58 +01:00
fb291b6def
Improve the terminal filter
All checks were successful
Alpine 3.20 Success
The new filter comes with these enhancements:

 - Processing is rune-wise rather than byte-wise;
   it assumes UTF-8 input and single-cell wide characters,
   but this condition should be /usually/ satisfied.
 - Unprocessed control characters are escaped, `cat -v` style.
 - A lot of escape sequences is at least recognised, if not processed.
 - Rudimentary preparation for efficient dynamic updates
   of task views, through Javascript.

We make terminal resets and screen clearing commands
flush all output and assume that the terminal has a new origin
for any later positioning commands.
This appears to work well enough with GRUB, at least.

The filter is now exposed through a command line option.
2024-12-25 23:14:54 +01:00