1
1
mirror of https://github.com/walles/moar.git synced 2024-09-17 15:07:11 +03:00
Commit Graph

14 Commits

Author SHA1 Message Date
Johan Walles
8c4a133008 Add line numbers to escape sequence log messages 2023-11-13 08:50:37 +01:00
Johan Walles
251513ef66 Use plain style color for unclassified text
I believe this fixes #159.
2023-10-06 19:03:48 +02:00
Johan Walles
a30a31bb2b Try supporting Clear-to-EOL
This should be about right, but the tests are still failing.
2022-10-27 16:51:17 +02:00
Johan Walles
ecae4811de Test that scolling to the last line works
It doesn't when we're in word wrapping mode.

Not sure how to fix this, but it is broken.
2021-05-27 06:48:51 +02:00
Johan Walles
3dd20e609d Don't lose whitespace-only lines 2021-05-25 17:18:18 +02:00
Johan Walles
a062dd25f8 Break markdown links between text and URL
These tend to be long and screw up formatting, they need special
handling.
2021-05-25 17:10:24 +02:00
Johan Walles
3b7a906ce1 Word wrap URLs after / 2021-05-24 19:10:31 +02:00
Johan Walles
896ac3e874 Add word wrapping tests 2021-05-24 18:30:31 +02:00
Johan Walles
3df48a4ade Simplify line wrapping tests 2021-05-24 18:16:57 +02:00
Johan Walles
e605199d92 Trim leading whitespace from wrapped lines 2021-05-23 16:23:04 +02:00
Johan Walles
0a40404070 Improve test feedback
On comparison failure, print both flavors.
2021-05-23 16:12:00 +02:00
Johan Walles
dcf8bbf9a7 Always wrap
NOTE: Wrapping should:
* be optional
* documented
* default to off
* be controllable from the command line
* be possible to toggle by pressing 'w'
2021-05-22 15:41:44 +02:00
Johan Walles
f0283e9e57 Implement simplistic wrapping 2021-05-22 15:41:44 +02:00
Johan Walles
b4a82b2668 Add initial line wrapper implementation
With failing tests.
2021-05-22 15:41:44 +02:00