comparison web/src/luan/modules/web/shell.luan @ 402:62b457c50594

add stripe; change Luan.values to only return values, not indexes;
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 28 Apr 2015 22:38:31 -0600
parents 199eb7f1b828
children
comparison
equal deleted inserted replaced
401:322c03d85ada 402:62b457c50594
19 else 19 else
20 local cmd = Http.request.parameters.cmd 20 local cmd = Http.request.parameters.cmd
21 if cmd ~= nil then 21 if cmd ~= nil then
22 Io.stdout = {} 22 Io.stdout = {}
23 function Io.stdout.write(...) 23 function Io.stdout.write(...)
24 for _,v in Luan.values(...) do 24 for v in Luan.values(...) do
25 history[#history+1] = v 25 history[#history+1] = v
26 end 26 end
27 end 27 end
28 print( "% "..cmd ) 28 print( "% "..cmd )
29 try { 29 try {