diff options
| -rw-r--r-- | lib/hcl/commands.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb index fb5a04a..9bd5271 100644 --- a/lib/hcl/commands.rb +++ b/lib/hcl/commands.rb @@ -128,7 +128,7 @@ module HCl        result = ''        DayEntry.all(date).each do |day|          running = day.running? ? '(running) ' : '' -        columns = HighLine::SystemExtensions.terminal_size[0] +        columns = HighLine::SystemExtensions.terminal_size[0] rescue 80          result << "\t#{day.formatted_hours}\t#{running}#{day.project}: #{day.notes.lines.to_a.last}\n"[0..columns-1]          total_hours = total_hours + day.hours.to_f        end | 
