Skip to content

Commit 4b03092

Browse files
pgbovinemmmicedcoffee
authored andcommitted
teeny
1 parent 7b34072 commit 4b03092

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎v3/js/pytutor.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,9 @@ ExecutionVisualizer.prototype.updateOutput = function(smoothTransition) {
12861286

12871287
if (isLastInstr) {
12881288
if (this.promptForUserInput || this.promptForMouseInput) {
1289-
vcrControls.find("#curInstr").html('<b><font color="' + brightRed + '">' + this.userInputPromptStr + '</font></b>');
1289+
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>');
12901292

12911293
// don't do smooth transition since prompt() is modal so it doesn't
12921294
// give the animation background thread time to run

0 commit comments

Comments
 (0)