[PR #253] [MERGED] fix: make TerminalConsole.resize use provided width/height parameters #1179

Closed
opened 2026-03-14 09:22:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/253
Author: @aymuos15
Created: 11/2/2025
Status: Merged
Merged: 11/2/2025
Merged by: @kommander

Base: mainHead: main


📝 Commits (1)

  • 5b44540 fix: make TerminalConsole.resize use provided width/height parameters

📊 Changes

2 files changed (+103 additions, -14 deletions)

View changed files

packages/core/src/console.test.ts (+89 -0)
📝 packages/core/src/console.ts (+14 -14)

📄 Description

Previously ignored the arguments, now properly recalculates console dimensions. Added tests for all positions.

Fixes #213


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/253 **Author:** [@aymuos15](https://github.com/aymuos15) **Created:** 11/2/2025 **Status:** ✅ Merged **Merged:** 11/2/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`5b44540`](https://github.com/anomalyco/opentui/commit/5b445404bead5111d995bb60299fc5d06f034e3a) fix: make TerminalConsole.resize use provided width/height parameters ### 📊 Changes **2 files changed** (+103 additions, -14 deletions) <details> <summary>View changed files</summary> ➕ `packages/core/src/console.test.ts` (+89 -0) 📝 `packages/core/src/console.ts` (+14 -14) </details> ### 📄 Description Previously ignored the arguments, now properly recalculates console dimensions. Added tests for all positions. Fixes #213 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:22:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#1179
No description provided.