mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug #907
- The bug first occured in commit 36ed70ad93
and
seems to be caused by the rewritten break point detection. This adds linefeeds
into the table output, where they're not wanted. This can be fixed by marking
the respective tables as nonbreakable, as done in the attached patch.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
parent
184ba60df4
commit
851347fccc
1 changed files with 2 additions and 2 deletions
|
@ -408,7 +408,7 @@ int CmdGHistoryMonthly::execute (std::string& output)
|
|||
view.width (context.getWidth ());
|
||||
view.add (Column::factory ("string", STRING_CMD_GHISTORY_YEAR));
|
||||
view.add (Column::factory ("string", STRING_CMD_GHISTORY_MONTH));
|
||||
view.add (Column::factory ("string", STRING_CMD_GHISTORY_NUMBER));
|
||||
view.add (Column::factory ("string.left_fixed", STRING_CMD_GHISTORY_NUMBER));
|
||||
|
||||
Color color_add (context.config.get ("color.history.add"));
|
||||
Color color_done (context.config.get ("color.history.done"));
|
||||
|
@ -600,7 +600,7 @@ int CmdGHistoryAnnual::execute (std::string& output)
|
|||
ViewText view;
|
||||
view.width (context.getWidth ());
|
||||
view.add (Column::factory ("string", STRING_CMD_GHISTORY_YEAR));
|
||||
view.add (Column::factory ("string", STRING_CMD_GHISTORY_NUMBER));
|
||||
view.add (Column::factory ("string.left_fixed", STRING_CMD_GHISTORY_NUMBER));
|
||||
|
||||
Color color_add (context.config.get ("color.history.add"));
|
||||
Color color_done (context.config.get ("color.history.done"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue