Write lines from InputTester into history
Write lines from InputTester into history

Separate the check for whether to print a newline at EOF from the
check for whether to write input into the history, by inlining the
former.

jasonm23/pry,sferik/pry,raeno/pry,gfvcastro/pry,ooohiroyukiooo/pry,85x14/pry,printercu/pry,geoffreylitt/pry,jasnow/pry,raeno/pry,ngpestelos/pry,shockone/pry,raeno/pry,scalixte-mdsol/pry,sideci-sample/sideci-sample-pry,jasonm23/pry,josue804/debunker,jasnow/pry,caporta/pry,jasonm23/pry,geoffreylitt/pry,jasnow/pry,deivid-rodriguez/pry,85x14/pry,tdg5/pry,ooohiroyukiooo/pry,nju520/pry,josue804/debunker,tdg5/pry,caporta/pry,scalixte-mdsol/pry,shockone/pry,gfvcastro/pry,icebreaker/pry,nju520/pry,tdg5/pry,85x14/pry,sferik/pry,caporta/pry,icebreaker/pry,pvdb/pry,richo/pry,shockone/pry,ngpestelos/pry,scalixte-mdsol/pry,nju520/pry,printercu/pry,pvdb/pry,bronzdoc/pry,bronzdoc/pry,ooohiroyukiooo/pry