1 parent d132fc3 commit 06d9000Copy full SHA for 06d9000
1 file changed
v3/js/pytutor.js
@@ -1286,7 +1286,9 @@ ExecutionVisualizer.prototype.updateOutput = function(smoothTransition) {
1286
1287
if (isLastInstr) {
1288
if (this.promptForUserInput || this.promptForMouseInput) {
1289
- vcrControls.find("#curInstr").html('<b><font color="' + brightRed + '">' + this.userInputPromptStr + '</font></b>');
+ vcrControls.find("#curInstr").html('<b><font color="' + brightRed + '">user input</font></b>');
1290
+ // looks ugly when userInputPromptStr is TOO LONG
1291
+ //vcrControls.find("#curInstr").html('<b><font color="' + brightRed + '">' + this.userInputPromptStr + '</font></b>');
1292
1293
// don't do smooth transition since prompt() is modal so it doesn't
1294
// give the animation background thread time to run
0 commit comments