Commit Graph

38 Commits

Author SHA1 Message Date
0e1183a62c Update help message
- add usage
- add env
- add description
2023-04-18 00:00:40 -04:00
0247ecc2a1 Fix long args bug 2023-04-17 22:11:59 -04:00
b60ecd747b Add args
- --headers
2023-04-17 22:04:03 -04:00
f8bdf764b2 Update version message 2023-04-17 21:55:08 -04:00
2abab7c9e8 Add args
- --binary
2023-04-17 21:13:20 -04:00
f853dabe7f Fix stdin support 2023-04-17 18:40:17 -04:00
ab10a9c217 Process last line 2023-04-17 18:37:39 -04:00
15986b04ff Fix binary printing bug 2023-04-17 10:44:30 -04:00
c3e8f013d2 Remove debug messages 2023-04-17 10:29:22 -04:00
a550c7f229 Add optional processing stage 2023-04-17 10:23:52 -04:00
6eadc6dd06 Read file quick 2023-04-14 22:42:55 -04:00
ca8bb9e1c3 Merge branch 'main' into f6s/syntax-highlighting
- Fix memory leak
2023-04-14 09:43:30 -04:00
fc91d8a95d Fix memory leak 2023-04-14 09:43:05 -04:00
f1892da51e Read file in one read 2023-04-13 13:45:15 -04:00
03d4f4fddf Fix stdin bug 2023-04-13 09:37:24 -04:00
f1de0cfb8b Add stdin support 2023-04-13 09:24:41 -04:00
5f01703842 Add args
- --help
- --version
2023-04-13 09:03:33 -04:00
58e0d435c3 Add args
- add color arg
- add lines arg
2023-04-12 23:46:53 -04:00
c760493f48 Fix binary detection bug 2023-04-12 22:53:48 -04:00
b247f8f827 Add speed optimization flag to CFLAGS 2023-04-12 14:33:29 -04:00
49f01c39d8 Begin config struct
- Useful when flags are implemented
2023-04-12 09:38:38 -04:00
a3cae79124 Add NO_COLOR support 2023-04-11 22:53:21 -04:00
87d147d78e Switch to \r instead of annoying newline 2023-04-11 19:23:51 -04:00
9ffc001bf2 Try to approximate if file is printeable 2023-04-11 19:17:36 -04:00
da0287ec63 Move to size_t where practical 2023-04-11 12:32:38 -04:00
41487c8ae6 Fix typos + wrong header includes 2023-04-10 23:47:45 -04:00
907dbe6cae Rename lib to util 2023-04-10 23:08:11 -04:00
c040fe79ef Add stdin support 2023-04-10 23:06:08 -04:00
87f3769355 Optimize printing 2023-04-10 20:49:43 -04:00
0e59c5f27c Breakup monolithic code 2023-04-10 20:14:18 -04:00
aeafcc6891 Fix args error msg 2023-04-10 19:09:11 -04:00
89b97deeff Update Makefile 2023-04-10 18:55:54 -04:00
d3526c4e13 Fix bug
- comparison of signed and unsigned ints
2023-04-10 14:57:12 -04:00
0d82534b09 Add tty check 2023-04-10 14:51:49 -04:00
6a4a706fc9 Add multifile support 2023-04-10 14:36:45 -04:00
1ded2f0f81 Open file + make buffer 2023-04-10 12:51:42 -04:00
e2ed5aca4d Implement file opening 2023-04-10 00:58:48 -04:00
97a99175f4 Initial commit 2023-04-09 13:42:44 -04:00