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:
committed by
Paul Beckingham
parent
184ba60df4
commit
851347fccc
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user