Mercurial Hosting > luan
diff src/luan/tools/WebShell.java @ 122:d00f41edbbd6
minor
git-svn-id: https://luan-java.googlecode.com/svn/trunk@123 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 04 Jun 2014 06:15:47 +0000 |
parents | eacf6ce1b47d |
children | 0594c132888b |
line wrap: on
line diff
--- a/src/luan/tools/WebShell.java Mon Jun 02 05:49:17 2014 +0000 +++ b/src/luan/tools/WebShell.java Wed Jun 04 06:15:47 2014 +0000 @@ -60,7 +60,7 @@ luan = newLuanState(); session.putValue("luan",luan); } - luan.set( "Io.stdout", IoLib.writer(new PrintStream(history)) ); + luan.set( "Io.stdout", IoLib.textWriter(new PrintStream(history)) ); LuanTable env = luan.global(); env.put("request",request); env.put("response",response);