Commit Graph

25 Commits

Author SHA1 Message Date
fc91d8a95d Fix memory leak 2023-04-14 09:43:05 -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