[PR #337] [CLOSED] fix: Input inserting KeyEvent with modifiers as text #1244

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/337
Author: @veracioux
Created: 11/22/2025
Status: Closed

Base: mainHead: fix/input-with-modifiers


📝 Commits (4)

  • bd560bd fix: Input inserting KeyEvent with modifiers as text
  • 8232a7c Merge branch 'main' into fix/input-with-modifiers
  • 132eaa5 Added Input features + tests to Textarea
  • 9591718 Fix Textarea modifier keys + tests

📊 Changes

4 files changed (+814 additions, -2 deletions)

View changed files

📝 packages/core/src/renderables/Input.test.ts (+28 -0)
📝 packages/core/src/renderables/Input.ts (+3 -1)
📝 packages/core/src/renderables/Textarea.ts (+75 -1)
packages/core/src/renderables/__tests__/Textarea.input-like.test.ts (+708 -0)

📄 Description

This is both an issue report and a fix for the same.

https://github.com/user-attachments/assets/fb472a65-00e8-4bc9-8b68-0f139f2c8d33


🔄 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/337 **Author:** [@veracioux](https://github.com/veracioux) **Created:** 11/22/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/input-with-modifiers` --- ### 📝 Commits (4) - [`bd560bd`](https://github.com/anomalyco/opentui/commit/bd560bdd029fc994f6700804de05da48bf204375) fix: Input inserting KeyEvent with modifiers as text - [`8232a7c`](https://github.com/anomalyco/opentui/commit/8232a7c522335411f7edb01aa8ef83c4fe9c4845) Merge branch 'main' into fix/input-with-modifiers - [`132eaa5`](https://github.com/anomalyco/opentui/commit/132eaa5975728a9de7c84146edf624ceb6431054) Added Input features + tests to Textarea - [`9591718`](https://github.com/anomalyco/opentui/commit/95917184f8762bed698deda32a4c05096e3d0ba6) Fix Textarea modifier keys + tests ### 📊 Changes **4 files changed** (+814 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/renderables/Input.test.ts` (+28 -0) 📝 `packages/core/src/renderables/Input.ts` (+3 -1) 📝 `packages/core/src/renderables/Textarea.ts` (+75 -1) ➕ `packages/core/src/renderables/__tests__/Textarea.input-like.test.ts` (+708 -0) </details> ### 📄 Description This is both an issue report and a fix for the same. https://github.com/user-attachments/assets/fb472a65-00e8-4bc9-8b68-0f139f2c8d33 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:26:19 +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#1244
No description provided.