Replit buggy console

Problem description:
line repeats every time i input something into the console

Expected behavior:

Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5 4 3 6 8 3754 32

Actual behavior:

Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
Enter any amount of integers, separated by a space: 8 9 7 4 92 53 44 867 2384 21 5
4 3 6 8 3754 32

Steps to reproduce:
javascript code I used:

const prompt = require('prompt-sync')();
num_array = []
num_array.push(prompt("Enter any amount of integers, separated by a space: ").split(" "));
console.log(num_array)

Bug appears at this link:
NA

Browser: Google Chrome
OS: ChromeOS
Device (Android, iOS, NA leave blank): Lenovo 500 e Chromebook 2nd Gen
Desktop app version (Avatar menu->“Version”) or NA: NA
Plan (Free, Hacker, Pro Plan): Free

I tried to run the code you showed, but I didn’t see any problems with the output. Can you send us a link to your repl that has problems?

1 Like

https://replit.com/@usernotfound8/QuarterlyShyJava

Is this an issue with the IDE console?
If so, making a bug report might be the only way.

I honestly have no idea

Were you trying to use the console while editing?

Like, while creating the code?
I just hit run and tested it and that happened
¯\_(ツ)_/¯

Ahhh okay,

so it’s the run console that would be in Edit mode!

Since they updated it, seems like a few features don’t work, like:

  • ANSI
    • All colour programs.
  • Etc

What does ANSI mean? What’s a color program?

ANSI is a color-code-escape charset.

It lets you change colors of text in the STDOUT.

As far as I can tell, ANSI still works. Where does it not?

Potentially the Editor.

I did not see any colors installing a NPM package.

Checked one of my own Repls, this one definitely still has working ANSI colors, as well as using ANSI for clearing the screen.

Seems like it’s just for internal stuff.


is there anyway to fix it?