diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-02-27 08:42:57 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:04:50 +0200 |
commit | 079fa4e3be9f1178fb671c577eece2921d054fd6 (patch) | |
tree | 8927294b5a38a3269bc5f29c05c0311c0ad0d085 /overlays/taskwarrior/TW-1778_patch.diff | |
parent | ecd6a21ff0a9c2dad7a1c2c0ebd6c12889150636 (diff) | |
download | NUR-079fa4e3be9f1178fb671c577eece2921d054fd6.tar.gz NUR-079fa4e3be9f1178fb671c577eece2921d054fd6.tar.zst NUR-079fa4e3be9f1178fb671c577eece2921d054fd6.zip |
Patch taskwarrior for truncated descriptions
Diffstat (limited to 'overlays/taskwarrior/TW-1778_patch.diff')
-rw-r--r-- | overlays/taskwarrior/TW-1778_patch.diff | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ | |||
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 | |||