diff --git a/ChangeLog b/ChangeLog index 5930236f4..2e7bf80b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -56,6 +56,7 @@ values. + Fixed problem with the 'undo' command not observing the rc.color or the rc._forcecolor settings. + + Fixed problem with extra blank line in the ghistory reports. ------ old releases ------------------------------ diff --git a/src/Table.cpp b/src/Table.cpp index 519225f92..a9817e00e 100644 --- a/src/Table.cpp +++ b/src/Table.cpp @@ -809,6 +809,7 @@ const std::string Table::render (int maxrows /* = 0 */, int maxlines /* = 0 */) mColumnPadding[col]); } + output.erase (output.find_last_not_of (" ") + 1); output += "\n"; ++renderedlines; if (underline.length ())