Skip to content

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

Closed

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).

Activity

  1. github-actions commented on Oct 5, 2025

    @github-actions

    Thank you for raising this issue! Our team will review it soon.

    For more queries or discussions or approval of requests, please join the Discord server for further discussion: https://discord.com/invite/Yn9g6KuWyA

  2. DhanushNehru commented on Oct 5, 2025

    @DhanushNehru
    Owner

    Do you want to work on this @gyaneshwarchoudhary ?

  3. gyaneshwarchoudhary commented on Oct 5, 2025

    @gyaneshwarchoudhary
    ContributorAuthor

    yes @DhanushNehru please assing the issue to me

  4. DhanushNehru commented on Oct 5, 2025

    @DhanushNehru
    Owner
  5. added a commit that references this issue on Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions