aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c (unfollow)
Commit message (Expand)AuthorFilesLines
2025-07-12Remove need for strlcat and remove extra `memset`sEugene Triguba1-11/+13
2025-07-12Add linebuffer destroy to error caseEugene Triguba1-0/+1
2025-07-12Remove unnecessary memset for word bufferEugene Triguba1-3/+3
2025-07-12Simplify justify function and add additional read_word testEugene Triguba1-6/+0
2025-07-12Remove unnecesary if statement and fix memsetEugene Triguba1-1/+1
2025-07-12Remove unnecessary if statementEugene Triguba1-5/+0
2025-07-12Refactor usage of linebuffer to avoid using internal _num_wordsEugene Triguba1-2/+2
2025-07-12Use exit code 0 for -hEugene Triguba1-1/+3
2025-07-12Add handling for zero or negative values for -wEugene Triguba1-2/+4
2025-07-12Refactor main to delegate to a `justify` functionEugene Triguba1-4/+9
2025-06-29Fix justify behaviorEugene Triguba1-9/+40
2025-06-29Print error to stderrEugene Triguba1-1/+1
2024-07-04clear word after appendingEugene Triguba1-9/+13
2024-07-04Tweak tests and read_word implEugene Triguba1-2/+3
2024-07-04Format filesEugene Triguba1-21/+20