Commit Graph

12 Commits

Author SHA1 Message Date
tastytea a7149eaf52
Remove duplicated code 2022-03-16 21:39:46 +01:00
tastytea 4d599e877f
Better color code detection
Should produce less false positives.
2022-03-16 21:24:18 +01:00
tastytea b204b3e855
Skip early if line doesn't look like a patch
This allows us to skip exception handling (substr) later. 😉
2022-03-16 16:58:47 +01:00
tastytea f8a7d5c579
Oops, wrong variable 2022-03-16 16:52:57 +01:00
tastytea e8b74d10d1
Don't try to look into the third char if the line is < 3 chars 2022-03-16 16:43:22 +01:00
tastytea 8949b857c4
Only look into lines with at least 2 chars 2022-03-16 16:32:15 +01:00
tastytea fe125532a4
Add function to get the start position; add some comments 2022-03-10 15:53:25 +01:00
tastytea 46cf5484fd
Remove old commented code 2022-03-10 15:41:45 +01:00
tastytea 95ada60ea0
Dix usage source block 2022-03-10 14:48:10 +01:00
tastytea 715b03af7e
Add screenshot. 2022-03-10 14:47:38 +01:00
tastytea 1351eb0f0d
Add readme etc. 2022-03-10 14:36:30 +01:00
tastytea 8bbbec890b
Seems to work 2022-03-10 13:58:25 +01:00