benhoskings/omglog — pull request #5 by bquorning (2012-05-24 09:49:19+00:00)
Title: OmgLog is kinda broken on small repositories 

When the terminal window has more `rows` than the git log has lines, omglog does not fill the entire window, making “refresh” prints render under each other.

An alternative implementation would be:

```rb
log_lines = log.split("\n")[0...(rows - 1)]
until log_lines.size >= rows - 1
log_lines << ''
end

print CLEAR + log_lines.map {|l|
```

which will not generate `rows` extra objects on each request.