X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=overlays%2Ftaskwarrior%2FTW-1778_patch.diff;fp=overlays%2Ftaskwarrior%2FTW-1778_patch.diff;h=6d7e3766899266f75749f6dcc37441030473cd91;hb=079fa4e3be9f1178fb671c577eece2921d054fd6;hp=0000000000000000000000000000000000000000;hpb=ecd6a21ff0a9c2dad7a1c2c0ebd6c12889150636;p=perso%2FImmae%2FConfig%2FNix%2FNUR.git diff --git a/overlays/taskwarrior/TW-1778_patch.diff b/overlays/taskwarrior/TW-1778_patch.diff new file mode 100644 index 00000000..6d7e3766 --- /dev/null +++ b/overlays/taskwarrior/TW-1778_patch.diff @@ -0,0 +1,12 @@ +--- a/src/text.cpp 2016-02-24 23:18:11.000000000 +0100 ++++ b/src/text.cpp 2020-02-26 18:53:15.869331031 +0100 +@@ -248,7 +248,7 @@ + // Premature EOL. + if (character == '\n') + { +- line = text.substr (offset, line_length); ++ line = text.substr (offset, prior_cursor-offset); + offset = cursor; + return true; + } +