17 Commits

Author SHA1 Message Date
a6d8eba632
[clippy] fix: byte array -> byte str 2024-09-09 11:19:02 +02:00
fb4d9ee3f4
[chg] only 3 decimal places (save space) 2024-09-04 16:47:01 +02:00
1daa5d5304
[code] iterators all the way 2024-03-05 18:56:53 +01:00
d3fef99e54
[spelling] add comma 2024-02-09 18:26:10 +01:00
3757b01295 [clippy] since Rust 1.74 linter options can be specified in Cargo.toml 2023-11-17 11:25:28 +01:00
b792276b05
[rustfmt][clippy] more lints, better formatting 2023-08-20 16:34:38 +02:00
f53cbe8cfa
[chg] trim whitespace at end of line and append correct newline 2023-08-20 16:34:37 +02:00
9508adf7fc
[clippy] inline variables in println! 2023-08-20 16:34:37 +02:00
c1488ddb5c
[dev] use generic type (that implements Write trait) for print functions
also simplify `stdin.lock()` and `stdout.lock()`
2023-08-20 16:34:34 +02:00
218f470041
[dev] save time format string in constant 2023-08-20 16:33:11 +02:00
6acd42ecc2
[chg] reduce nr of decimal places to 6 (microseconds resolution)
nanoseconds is for almost all purposes (TTY) too much and not needed.
2023-08-20 16:33:11 +02:00
b99f27935b
[rustfmt] applied the new rustfmt settings 2023-08-20 16:33:11 +02:00
070d07b27c
[fix] UnexpectedEof is ok and should not show an error 2023-08-20 16:33:11 +02:00
91ec9ab7ec
[fix] log file needs to be opened create + append 2023-08-20 16:33:11 +02:00
dc110d33b6
[chg] log to file
specify a log file as 1st argument and the input will also be written to
that file. timestamp will be without ansi color codes.
2023-08-20 16:33:06 +02:00
70754218dd
[chg] rewrite current line with timestamp prefix after newline
timestamp marks the time when the line was "sent" or "committed"
2023-08-20 16:26:16 +02:00
606d882ec1
[chg] logtimes initial version 2023-08-20 16:26:02 +02:00