Lennart Spitzner
c3cc2e8170
Refactor from String to Text
2022-12-07 16:46:58 +01:00
Lennart Spitzner
86f952e572
hxbrief: Support --max-lines and Check non-overflow
2022-07-16 17:34:52 +02:00
Lennart Spitzner
338df579e9
hxbrief: Take into account env vars COLUMNS and LINES
2022-07-16 17:34:50 +02:00
Lennart Spitzner
103e7e9762
Fix problem with \r\n instead of \n causing output glitches
2022-03-18 13:38:00 +01:00
Lennart Spitzner
7105c6cd95
hxbrief: Support exact matches
2022-03-08 19:59:40 +00:00
Lennart Spitzner
f4cde7248a
hxbrief: Change output colouring (skipped lines)
2022-03-04 16:26:01 +00:00
Lennart Spitzner
d6c797dc2e
Write summary-line to stderr instead of stdout
2022-03-04 14:36:25 +00:00
Lennart Spitzner
bb0417d2a3
Show label in summary, Shorten long command label, cleanup
2022-03-04 14:35:31 +00:00
Lennart Spitzner
78a32ebece
Add some code comments
2022-03-04 14:34:32 +00:00
Lennart Spitzner
b9f038b212
hxbrief: Implement --yield to keep pattern while dropping
...
This is similar to piping your output to grep, only
our patterns are much weaker (as of yet), you can see
the intermediate output, and you can also still tee the
whole (unfiltered) output to a file at the same time.
2022-02-25 09:44:35 +00:00
Lennart Spitzner
78ee1ecb3a
hxbrief: Add --label to override command invocation string
2022-02-25 09:43:40 +00:00
Lennart Spitzner
3cacc98227
hxbrief: Implement --tee to write copy of all output to file
2022-02-25 09:42:45 +00:00
Lennart Spitzner
7e97c65716
hxbrief: Add flag "--omitSummary" to omit summary before exit
2022-02-24 19:00:09 +00:00
Lennart Spitzner
7ff33187c8
hxbrief: Fix child command argument passing
...
Previously, a child command like 'echo "foo; echo bar"' would
actually have invoked echo twice, because essentially the
quotation-marks got eated by our input parser. Not ideal.
2022-02-24 18:57:24 +00:00
Lennart Spitzner
aabc498fdb
Stop handling exception that we do not expect
...
Now that we guard via hSupportsANSI this is not
an exception that should occur. And if it occurs
we'd rather crash, as reading of stdin can be broken
after such an exception.
2022-02-09 21:35:49 +00:00
Lennart Spitzner
09c8e81095
Fix non-resetting console on user-interrupt
2022-02-08 15:32:40 +00:00
Lennart Spitzner
913916561c
Support forwarding stdin (non-echoed)
2022-02-08 15:11:36 +00:00
Lennart Spitzner
1cb4dd2cb8
Implement "--skip"
2022-02-03 21:18:44 +00:00
Lennart Spitzner
09b7a05964
Fix missing color-reset in some summary lines
2022-02-03 21:18:44 +00:00
Lennart Spitzner
146d06845f
Clean up code-comment about project todos
2022-02-03 21:18:05 +00:00
Lennart Spitzner
87647d8851
Make nested invocation harmless, inner call does nothing
2022-01-26 22:54:49 +00:00
Lennart Spitzner
8ca85432be
Implement basic ctrl-c-handling
2022-01-26 22:12:51 +00:00
Lennart Spitzner
dfad695899
Handle exception when our stdin gets closed immediately
2022-01-26 21:21:08 +00:00
Lennart Spitzner
b58597e2e0
Sort imports properly
2022-01-26 21:19:21 +00:00
Lennart Spitzner
725dd6d80b
Actually print help
2022-01-24 10:51:38 +00:00
Lennart Spitzner
5f2b4286ee
initial commit
2022-01-24 10:20:13 +00:00