Permalink
Browse files

Nicer prompt for IRB applet sample.

  • Loading branch information...
1 parent 5f58ec1 commit 99903c8f5a6e67bda301b816d697530674146a1f @headius headius committed Feb 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 samples/irb-applet.html
View
@@ -6,5 +6,5 @@
<param name="jruby.banner" value="Welcome to JRuby on the Web!" />
<param name="jruby.console" value="true" />
<param name="jruby.objectspace" value="true" />
-<param name="jruby.eval" value="ARGV[0..-1] = %w(-f) ; require 'irb' ; require 'irb/completion' ; Thread.new { IRB.start }" />
+<param name="jruby.eval" value="ARGV << '-f' << '--readline' << '--prompt' << 'simple'; require 'irb' ; require 'irb/completion' ; Thread.new { IRB.start }" />
</applet>

0 comments on commit 99903c8

Please sign in to comment.