[PR #364] [MERGED] feat: rebase + add line number renderable #1262

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/364
Author: @msmps
Created: 11/29/2025
Status: Merged
Merged: 11/29/2025
Merged by: @kommander

Base: mainHead: chore/sync-20251129213429


📝 Commits (5)

  • 9793598 feat: enhance usekeyboard hook to support key release events
  • d10af9a feat: add showLineNumbers option to LineNumberOptions interface
  • 6ad579d feat: add line number component and integrate into namespace
  • 6eacf50 docs: update readme to include line-number component details and usage example
  • 71987a3 docs: update readme for useKeyboard hook to include options and example for key release events

📊 Changes

7 files changed (+297 additions, -4 deletions)

View changed files

📝 packages/core/src/renderables/LineNumberRenderable.ts (+1 -0)
📝 packages/react/README.md (+98 -1)
packages/react/examples/line-number.tsx (+159 -0)
📝 packages/react/jsx-namespace.d.ts (+2 -0)
📝 packages/react/src/components/index.ts (+2 -0)
📝 packages/react/src/hooks/use-keyboard.ts (+29 -3)
📝 packages/react/src/types/components.ts (+6 -0)

📄 Description

  • add line number renderable
  • update use keyboard hook to align with solid with new release key
  • add missing property to line number renderable

🔄 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/364 **Author:** [@msmps](https://github.com/msmps) **Created:** 11/29/2025 **Status:** ✅ Merged **Merged:** 11/29/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `chore/sync-20251129213429` --- ### 📝 Commits (5) - [`9793598`](https://github.com/anomalyco/opentui/commit/97935981bc19346befb7cf92208f1c80073b6622) feat: enhance usekeyboard hook to support key release events - [`d10af9a`](https://github.com/anomalyco/opentui/commit/d10af9a63514e61e23efe9cd731fc58a887fc761) feat: add showLineNumbers option to LineNumberOptions interface - [`6ad579d`](https://github.com/anomalyco/opentui/commit/6ad579d0ceb188c3ea36409ae21f18554608dbf7) feat: add line number component and integrate into namespace - [`6eacf50`](https://github.com/anomalyco/opentui/commit/6eacf500a45c9c40a013dbd19b2dae77af5447ec) docs: update readme to include line-number component details and usage example - [`71987a3`](https://github.com/anomalyco/opentui/commit/71987a3c4e1dd557aade8d3d109efe384780017f) docs: update readme for useKeyboard hook to include options and example for key release events ### 📊 Changes **7 files changed** (+297 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/renderables/LineNumberRenderable.ts` (+1 -0) 📝 `packages/react/README.md` (+98 -1) ➕ `packages/react/examples/line-number.tsx` (+159 -0) 📝 `packages/react/jsx-namespace.d.ts` (+2 -0) 📝 `packages/react/src/components/index.ts` (+2 -0) 📝 `packages/react/src/hooks/use-keyboard.ts` (+29 -3) 📝 `packages/react/src/types/components.ts` (+6 -0) </details> ### 📄 Description - add line number renderable - update use keyboard hook to align with solid with new release key - add missing property to line number renderable --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:27:24 +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#1262
No description provided.