]> git.immae.eu Git - perso/Immae/Config/Nix.git/blob - overlays/taskwarrior/TW-1778_patch.diff
Patch taskwarrior for truncated descriptions
[perso/Immae/Config/Nix.git] / overlays / taskwarrior / TW-1778_patch.diff
1 --- a/src/text.cpp 2016-02-24 23:18:11.000000000 +0100
2 +++ b/src/text.cpp 2020-02-26 18:53:15.869331031 +0100
3 @@ -248,7 +248,7 @@
4 // Premature EOL.
5 if (character == '\n')
6 {
7 - line = text.substr (offset, line_length);
8 + line = text.substr (offset, prior_cursor-offset);
9 offset = cursor;
10 return true;
11 }
12