Fix SimplePager newline bug

This commit is contained in:
Ryan Fitzgerald 2013-11-03 16:49:07 -08:00
parent 659e4ca1b2
commit 2596fd3f3c
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ module Pry::Pager
def write(str)
str.lines.each do |line|
@out.puts line
@out.print line
@tracker.record line
if @tracker.page?