Skip to content

Fix room window not updating on .resize#35

Merged
MahtraDR merged 1 commit into
mainfrom
fix/room-window-resize
Mar 22, 2026
Merged

Fix room window not updating on .resize#35
MahtraDR merged 1 commit into
mainfrom
fix/room-window-resize

Conversation

@MahtraDR

Copy link
Copy Markdown
Contributor

Summary

  • RoomWindow was missing a redraw method, so WindowManager#resize fell through to Curses::Window#redraw (redrawwin) which only marks the window as damaged without actually re-rendering room content (title, description, objects, exits, etc.)
  • Added RoomWindow#redraw that delegates to render

Test plan

  • Resize terminal while connected -- room window should repaint correctly
  • Use .resize command -- room window should update along with all other windows

🤖 Generated with Claude Code

RoomWindow was missing a redraw method, so the resize handler fell
through to Curses::Window#redraw (redrawwin) which only marks the
window as damaged without re-rendering the room content. Add a
redraw method that delegates to render.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@MahtraDR MahtraDR merged commit 450e25d into main Mar 22, 2026
3 checks passed
@MahtraDR MahtraDR deleted the fix/room-window-resize branch March 22, 2026 04:58
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.

1 participant