Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

The tunnel screensaver had persistent lines on the left and bottom of the screen. This was caused by drawing outside the screen boundaries. This commit fixes the issue by adding boundary checks before drawing.


PR created automatically by Jules for task 9526991280053871601

The tunnel screensaver was drawing characters at coordinates outside of the terminal's visible area. This caused some terminals to clamp the coordinates, resulting in persistent lines being drawn at the edges of the screen, which disrupted the visual effect.

This commit refactors the drawing logic to introduce `plot_point` and `erase_point` helper functions. These functions perform boundary checks to ensure that characters are only drawn within the visible screen area, which resolves the visual artifacts.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll acknowledge your comments with a 👀 emoji and then get to work. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

I will automatically address your feedback. For any comments you don't want me to act on, just include (aside).



For security, I will only act on instructions from the user who triggered this task for this pull request.

@attogram attogram marked this pull request as ready for review September 16, 2025 14:06
@attogram attogram merged commit cfaa9f9 into main Sep 16, 2025
1 check failed
@attogram attogram deleted the fix-tunnel-screensaver branch September 16, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants