summaryrefslogtreecommitdiff
path: root/main.ha
AgeCommit message (Collapse)Author
2023-08-16Rewrite to Perl for maintainabilitySam Nystrom
Hare is experimental, unstable, and low-level, and I want to spend as little effort as possible maintaining this program.
2023-06-27Show total time next to elapsed timeSam Nystrom
2023-06-27Simplify timing logicSam Nystrom
Merge the pause_start and now variables to reduce complexity.
2023-06-27Remove check for tty on stdin0.2.0Sam Nystrom
hare-vt uses /dev/tty for this, and it is no longer necessary anyway since we now handle EOF properly.
2023-06-27Add additional keybindingsSam Nystrom
Add <space>, <ctrl-c>, <left-arrow>, and <right-arrow> bindings using hare-vt.
2023-06-27Use hare-vt for terminal I/OSam Nystrom
2023-06-23Properly handle nested formatting tags0.1.2Sam Nystrom
2023-06-23Exit with an error if stdin is not interactiveSam Nystrom
2023-06-23Fall back to plain text if XML parsing failsSam Nystrom
2023-06-23Don't rely on implementation details of bufioSam Nystrom
Previously we modified internal fields of bufio::memstream to make it readable, which is bad. This commit uses bufio::fixed to read from a strio::stream.
2023-06-23close subtitle file after parsingSam Nystrom
2023-06-23prevent clock underflow while pausedSam Nystrom
2023-06-23add GPL boilerplateSam Nystrom
2023-06-23remove support for text color with <font color=..Sam Nystrom
It looks like trash 99% of the time in the terminal.
2023-06-22prevent clock underflowSam Nystrom
2023-06-22fix bug where pause time was miscalculatedSam Nystrom
2023-06-22parse and format XML in subtitle contentSam Nystrom
2023-06-22initSam Nystrom