Skip to content

BUG: Output goes out of the visible output box when running large loops #196

@gyaneshwarchoudhary

Description

@gyaneshwarchoudhary

Description

When running a Python script that produces multiple lines of output (for example, counting from 100 down to 1), the output extends beyond the visible area of the output box.
This makes it difficult to read or scroll through all results properly.


Steps to Reproduce

  1. Open the Custom code editor.
  2. Enter the following script:
    a = 100
    while a > 0:
        print(a)
        a = a - 1
  3. Click run python3
  4. Observe output areas
Image

Expected Behavior

  • The output should stay within the visible box.
  • A scroll bar should appear to allow viewing all lines of output neatly.

Actual Behavior

  • The output text overflows outside the visible output box.
  • Some lines become hidden or cut off.
  • Scrolling is not working as expected.

Reproduces How Often

  • ✅ Every time a script generates a large amount of output (e.g., printing numbers from 1 to 100 or more).

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions