Skip to content

Commit

Permalink
wrong header fot hostmode
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyrun committed May 27, 2013
1 parent 362375c commit fdb5141
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def header

attrset(color_pair(1))
setpos(0,0)
addstr(sprintf "%-#{@key_col_width}s%-#{@url_col_width}s%s", "request pattern", "last url", @stat_cols.join)

addstr(sprintf "%-#{@key_col_width}s%-#{@url_col_width}s%s", (@config[:host_mode]) ? "hostname" : "request pattern", "last url", @stat_cols.join)
end

def footer
Expand Down

0 comments on commit fdb5141

Please sign in to comment.