Skip to content

Commit 5354b39

Browse files
committed
webprompt: make it clearer that computing is happening
1 parent 3a3870c commit 5354b39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webprompt-shell.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565
<hr/>
6666
<textarea class="emscripten" id="output" rows="8" readonly="readonly"></textarea>
6767

68-
<input type="text" class="emscripten" id="input" name="text" value="{'REPL':'press enter'}" />
68+
<input type="text" class="emscripten" id="input" name="text" value="{'REPL':['press enter',2+2]}" />
6969
<textarea class="emscripten" id="file" rows="8"># Python script
7070
def f(x):
7171
return x**2
72-
print("hello, world!")
72+
print("hello, world!", f(3))
7373
</textarea>
7474
<button class="emscripten" onclick="execute()">Execute</button>
7575
<hr>

0 commit comments

Comments
 (0)