REPL: Quick hack to enable better multi-line input history
REPL: Quick hack to enable better multi-line input history

Hitting 'up arrow' after an error does something far more reasonable now.

EXAMPLE:
	(swift) struct Foo {
			  var a:
			}
	<REPL Input>:2:9: error: expected type
	  var a:
			^
AFTER HITTING 'UP ARROW':
	(swift) struct Foo {
	var a:
	}

Swift SVN r12203

gribozavr/swift,shajrawi/swift,ben-ng/swift,shahmishal/swift,allevato/swift,parkera/swift,Jnosh/swift,gregomni/swift,kusl/swift,hughbe/swift,brentdax/swift,parkera/swift,nathawes/swift,hughbe/swift,aschwaighofer/swift,devincoughlin/swift,lorentey/swift,sschiau/swift,airspeedswift/swift,Ivacker/swift,tkremenek/swift,LeoShimonaka/swift,uasys/swift,parkera/swift,natecook1000/swift,Jnosh/swift,rudkx/swift,roambotics/swift,kentya6/swift,kusl/swift,parkera/swift,jopamer/swift,sdulal/swift,parkera/swift,devincoughlin/swift,aschwaighofer/swift,austinzheng/swift,sschiau/swift,jmgc/swift,glessard/swift,slavapestov/swift,uasys/swift,airspeedswift/swift,modocache/swift,adrfer/swift,jmgc/swift,OscarSwanros/swift,russbishop/swift,jtbandes/swift,kusl/swift,gmilos/swift,benlangmuir/swift,johnno1962d/swift,jckarter/swift,gribozavr/swift,stephentyrone/swift,glessard/swift,practicalswift/swift,dduan/swift,swiftix/swift,adrfer/swift,amraboelela/swift,SwiftAndroid/swift,tkremenek/swift,OscarSwanros/swift,khizkhiz/swift,zisko/swift,gmilos/swift,apple/swift,xwu/swift,kentya6/swift,mightydeveloper/swift,karwa/swift,gribozavr/swift,kperryua/swift,bitjammer/swift,codestergit/swift,bitjammer/swift,frootloops/swift,tardieu/swift,gregomni/swift,adrfer/swift,djwbrown/swift,IngmarStein/swift,JaSpa/swift,lorentey/swift,rudkx/swift,zisko/swift,JaSpa/swift,arvedviehweger/swift,danielmartin/swift,brentdax/swift,natecook1000/swift,shahmishal/swift,xedin/swift,practicalswift/swift,practicalswift/swift,cbrentharris/swift,stephentyrone/swift,swiftix/swift.old,therealbnut/swift,shajrawi/swift,harlanhaskins/swift,felix91gr/swift,devincoughlin/swift,kusl/swift,swiftix/swift,shajrawi/swift,tkremenek/swift,roambotics/swift,jtbandes/swift,KrishMunot/swift,atrick/swift,lorentey/swift,aschwaighofer/swift,sschiau/swift,manavgabhawala/swift,nathawes/swift,calebd/swift,jtbandes/swift,deyton/swift,hooman/swift,nathawes/swift,bitjammer/swift,zisko/swift,brentdax/swift,lorentey/swift,harlanhaskins/swift,brentdax/swift,dduan/swift,manavgabhawala/swift,alblue/swift,roambotics/swift,ahoppen/swift,huonw/swift,karwa/swift,Ivacker/swift,allevato/swift,rudkx/swift,gregomni/swift,jmgc/swift,therealbnut/swift,gmilos/swift,jckarter/swift,gribozavr/swift,manavgabhawala/swift,jckarter/swift,cbrentharris/swift,ben-ng/swift,deyton/swift,arvedviehweger/swift,LeoShimonaka/swift,calebd/swift,dduan/swift,khizkhiz/swift,tjw/swift,jopamer/swift,frootloops/swift,KrishMunot/swift,hooman/swift,harlanhaskins/swift,xwu/swift,xwu/swift,benlangmuir/swift,xedin/swift,airspeedswift/swift,gottesmm/swift,gregomni/swift,johnno1962d/swift,karwa/swift,MukeshKumarS/Swift,sschiau/swift,slavapestov/swift,hooman/swift,hughbe/swift,roambotics/swift,sschiau/swift,tkremenek/swift,cbrentharris/swift,tjw/swift,djwbrown/swift,kstaring/swift,kusl/swift,ken0nek/swift,johnno1962d/swift,djwbrown/swift,bitjammer/swift,xwu/swift,huonw/swift,harlanhaskins/swift,ken0nek/swift,kstaring/swift,airspeedswift/swift,russbishop/swift,Ivacker/swift,sdulal/swift,tardieu/swift,khizkhiz/swift,alblue/swift,kentya6/swift,shajrawi/swift,rudkx/swift,SwiftAndroid/swift,lorentey/swift,nathawes/swift,ken0nek/swift,jopamer/swift,MukeshKumarS/Swift,amraboelela/swift,uasys/swift,xedin/swift,Jnosh/swift,parkera/swift,felix91gr/swift,aschwaighofer/swift,MukeshKumarS/Swift,adrfer/swift,codestergit/swift,kstaring/swift,ben-ng/swift,frootloops/swift,roambotics/swift,IngmarStein/swift,zisko/swift,emilstahl/swift,mightydeveloper/swift,djwbrown/swift,kentya6/swift,sdulal/swift,tkremenek/swift,tinysun212/swift-windows,tardieu/swift,devincoughlin/swift,JGiola/swift,therealbnut/swift,therealbnut/swift,atrick/swift,xedin/swift,ahoppen/swift,natecook1000/swift,calebd/swift,MukeshKumarS/Swift,harlanhaskins/swift,natecook1000/swift,codestergit/swift,felix91gr/swift,karwa/swift,return/swift,ken0nek/swift,shahmishal/swift,milseman/swift,danielmartin/swift,IngmarStein/swift,MukeshKumarS/Swift,russbishop/swift,khizkhiz/swift,dduan/swift,return/swift,slavapestov/swift,IngmarStein/swift,xedin/swift,djwbrown/swift,aschwaighofer/swift,nathawes/swift,KrishMunot/swift,amraboelela/swift,return/swift,OscarSwanros/swift,benlangmuir/swift,jtbandes/swift,kentya6/swift,JGiola/swift,ahoppen/swift,gottesmm/swift,nathawes/swift,austinzheng/swift,CodaFi/swift,tardieu/swift,allevato/swift,kstaring/swift,gmilos/swift,MukeshKumarS/Swift,calebd/swift,manavgabhawala/swift,modocache/swift,xwu/swift,shajrawi/swift,djwbrown/swift,brentdax/swift,gottesmm/swift,OscarSwanros/swift,alblue/swift,kperryua/swift,allevato/swift,ahoppen/swift,sdulal/swift,kperryua/swift,JaSpa/swift,hughbe/swift,devincoughlin/swift,tinysun212/swift-windows,aschwaighofer/swift,LeoShimonaka/swift,shahmishal/swift,shajrawi/swift,uasys/swift,gottesmm/swift,dduan/swift,glessard/swift,sschiau/swift,hughbe/swift,tjw/swift,swiftix/swift.old,tardieu/swift,calebd/swift,alblue/swift,tjw/swift,jopamer/swift,kperryua/swift,swiftix/swift,rudkx/swift,gribozavr/swift,apple/swift,adrfer/swift,SwiftAndroid/swift,austinzheng/swift,Ivacker/swift,ken0nek/swift,jmgc/swift,benlangmuir/swift,jckarter/swift,Jnosh/swift,JaSpa/swift,return/swift,aschwaighofer/swift,calebd/swift,arvedviehweger/swift,therealbnut/swift,gmilos/swift,felix91gr/swift,shahmishal/swift,jckarter/swift,austinzheng/swift,jmgc/swift,milseman/swift,devincoughlin/swift,therealbnut/swift,parkera/swift,natecook1000/swift,alblue/swift,SwiftAndroid/swift,tinysun212/swift-windows,emilstahl/swift,jckarter/swift,benlangmuir/swift,KrishMunot/swift,kentya6/swift,JGiola/swift,swiftix/swift,OscarSwanros/swift,brentdax/swift,jtbandes/swift,tardieu/swift,tjw/swift,xedin/swift,return/swift,karwa/swift,LeoShimonaka/swift,russbishop/swift,austinzheng/swift,Ivacker/swift,calebd/swift,slavapestov/swift,zisko/swift,roambotics/swift,hooman/swift,return/swift,practicalswift/swift,ben-ng/swift,jckarter/swift,mightydeveloper/swift,ken0nek/swift,LeoShimonaka/swift,gottesmm/swift,milseman/swift,amraboelela/swift,tinysun212/swift-windows,frootloops/swift,jopamer/swift,manavgabhawala/swift,codestergit/swift,nathawes/swift,emilstahl/swift,emilstahl/swift,stephentyrone/swift,shajrawi/swift,devincoughlin/swift,austinzheng/swift,return/swift,IngmarStein/swift,danielmartin/swift,stephentyrone/swift,jtbandes/swift,benlangmuir/swift,apple/swift,johnno1962d/swift,frootloops/swift,amraboelela/swift,russbishop/swift,cbrentharris/swift,kusl/swift,deyton/swift,danielmartin/swift,gmilos/swift,SwiftAndroid/swift,adrfer/swift,kusl/swift,sschiau/swift,KrishMunot/swift,hooman/swift,cbrentharris/swift,kusl/swift,codestergit/swift,djwbrown/swift,CodaFi/swift,swiftix/swift.old,gribozavr/swift,SwiftAndroid/swift,hughbe/swift,JGiola/swift,mightydeveloper/swift,danielmartin/swift,harlanhaskins/swift,manavgabhawala/swift,alblue/swift,SwiftAndroid/swift,modocache/swift,OscarSwanros/swift,jtbandes/swift,frootloops/swift,felix91gr/swift,khizkhiz/swift,zisko/swift,tinysun212/swift-windows,ben-ng/swift,ahoppen/swift,xedin/swift,CodaFi/swift,karwa/swift,shajrawi/swift,johnno1962d/swift,tjw/swift,natecook1000/swift,atrick/swift,hughbe/swift,atrick/swift,JaSpa/swift,codestergit/swift,tinysun212/swift-windows,stephentyrone/swift,alblue/swift,swiftix/swift,tjw/swift,felix91gr/swift,apple/swift,parkera/swift,natecook1000/swift,danielmartin/swift,johnno1962d/swift,Jnosh/swift,zisko/swift,brentdax/swift,kstaring/swift,amraboelela/swift,milseman/swift,khizkhiz/swift,huonw/swift,CodaFi/swift,kperryua/swift,arvedviehweger/swift,slavapestov/swift,emilstahl/swift,airspeedswift/swift,kentya6/swift,deyton/swift,JGiola/swift,JaSpa/swift,swiftix/swift.old,LeoShimonaka/swift,Jnosh/swift,stephentyrone/swift,mightydeveloper/swift,sdulal/swift,adrfer/swift,deyton/swift,swiftix/swift.old,allevato/swift,OscarSwanros/swift,sschiau/swift,slavapestov/swift,swiftix/swift,gottesmm/swift,xedin/swift,russbishop/swift,KrishMunot/swift,dreamsxin/swift,lorentey/swift,hooman/swift,austinzheng/swift,modocache/swift,rudkx/swift,apple/swift,shahmishal/swift,CodaFi/swift,allevato/swift,jmgc/swift,IngmarStein/swift,xwu/swift,CodaFi/swift,ahoppen/swift,modocache/swift,stephentyrone/swift,MukeshKumarS/Swift,arvedviehweger/swift,jopamer/swift,emilstahl/swift,gribozavr/swift,cbrentharris/swift,ben-ng/swift,khizkhiz/swift,hooman/swift,Ivacker/swift,swiftix/swift.old,huonw/swift,milseman/swift,LeoShimonaka/swift,karwa/swift,sdulal/swift,russbishop/swift,Jnosh/swift,harlanhaskins/swift,codestergit/swift,practicalswift/swift,dduan/swift,modocache/swift,ben-ng/swift,sdulal/swift,jmgc/swift,airspeedswift/swift,uasys/swift,xwu/swift,glessard/swift,modocache/swift,uasys/swift,tinysun212/swift-windows,sdulal/swift,manavgabhawala/swift,mightydeveloper/swift,gregomni/swift,glessard/swift,cbrentharris/swift,kstaring/swift,kentya6/swift,felix91gr/swift,JGiola/swift,swiftix/swift,airspeedswift/swift,atrick/swift,atrick/swift,slavapestov/swift,huonw/swift,emilstahl/swift,Ivacker/swift,arvedviehweger/swift,bitjammer/swift,kperryua/swift,milseman/swift,Ivacker/swift,johnno1962d/swift,mightydeveloper/swift,mightydeveloper/swift,tardieu/swift,uasys/swift,lorentey/swift,amraboelela/swift,gottesmm/swift,practicalswift/swift,jopamer/swift,gregomni/swift,kperryua/swift,swiftix/swift.old,deyton/swift,shahmishal/swift,emilstahl/swift,IngmarStein/swift,gribozavr/swift,dduan/swift,lorentey/swift,cbrentharris/swift,devincoughlin/swift,practicalswift/swift,KrishMunot/swift,practicalswift/swift,huonw/swift,bitjammer/swift,shahmishal/swift,frootloops/swift,karwa/swift,arvedviehweger/swift,gmilos/swift,swiftix/swift.old,huonw/swift,deyton/swift,apple/swift,allevato/swift,dreamsxin/swift,milseman/swift,LeoShimonaka/swift,kstaring/swift,therealbnut/swift,tkremenek/swift,bitjammer/swift,glessard/swift,tkremenek/swift,CodaFi/swift,ken0nek/swift,JaSpa/swift,danielmartin/swift