[PR #422] [MERGED] Added mouse support, closes #13 #945

Closed
opened 2026-03-04 01:08:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/422
Author: @rivo
Created: 3/29/2020
Status: Merged
Merged: 3/29/2020
Merged by: @rivo

Base: masterHead: mouse


📝 Commits (10+)

📊 Changes

34 files changed (+954 additions, -146 deletions)

View changed files

📝 README.md (+1 -49)
📝 application.go (+184 -0)
📝 box.go (+59 -0)
📝 button.go (+20 -0)
📝 checkbox.go (+23 -0)
📝 demos/button/main.go (+1 -1)
📝 demos/checkbox/main.go (+1 -1)
📝 demos/dropdown/main.go (+1 -1)
📝 demos/flex/main.go (+1 -1)
📝 demos/form/main.go (+1 -1)
📝 demos/frame/main.go (+1 -1)
📝 demos/grid/main.go (+1 -1)
📝 demos/inputfield/main.go (+1 -1)
📝 demos/list/main.go (+1 -1)
📝 demos/modal/main.go (+1 -1)
📝 demos/pages/main.go (+1 -1)
📝 demos/presentation/cover.go (+3 -1)
📝 demos/presentation/main.go (+15 -12)
📝 demos/table/main.go (+1 -1)
📝 demos/textview/main.go (+1 -1)

...and 14 more files

📄 Description

No description provided


🔄 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/rivo/tview/pull/422 **Author:** [@rivo](https://github.com/rivo) **Created:** 3/29/2020 **Status:** ✅ Merged **Merged:** 3/29/2020 **Merged by:** [@rivo](https://github.com/rivo) **Base:** `master` ← **Head:** `mouse` --- ### 📝 Commits (10+) - [`96875c7`](https://github.com/rivo/tview/commit/96875c75b9f927585f21b08f09841b4fea8ab4bf) Added mouse handling - [`2f4b6ad`](https://github.com/rivo/tview/commit/2f4b6ad7481e3811374dd70a3d5a0d1a1f086253) Return self - [`d725028`](https://github.com/rivo/tview/commit/d7250288e2ad0b3b67b91db2e36901b8ed42bdce) More mouse handling for primitives - [`d891191`](https://github.com/rivo/tview/commit/d891191b780e5133f3042532d465edca4863d742) Fire Selected on list item click - [`871ddc5`](https://github.com/rivo/tview/commit/871ddc57d7570779f83524095e8cd49479c2c9b3) DropDown mouse support - [`1d496ac`](https://github.com/rivo/tview/commit/1d496acc2b87f58f2f8ea09d0fbe03de1ac72b7b) Dismiss dropdown by click - [`e4d6f4f`](https://github.com/rivo/tview/commit/e4d6f4f3eec86b380a38a8c9271f35f5381702ef) Fix dropdown focus - [`93c0edc`](https://github.com/rivo/tview/commit/93c0edc4a8bdf94c565fec0d565f55a25c20c580) Get mouse actions rather than just mouse state - [`cd3c60e`](https://github.com/rivo/tview/commit/cd3c60e6d1ea916ff5c9a907d87013e50354fc7d) Refactor EventMouse - [`9598ca2`](https://github.com/rivo/tview/commit/9598ca25197aecfbe3fb91507f64725812363739) New mouse design ### 📊 Changes **34 files changed** (+954 additions, -146 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -49) 📝 `application.go` (+184 -0) 📝 `box.go` (+59 -0) 📝 `button.go` (+20 -0) 📝 `checkbox.go` (+23 -0) 📝 `demos/button/main.go` (+1 -1) 📝 `demos/checkbox/main.go` (+1 -1) 📝 `demos/dropdown/main.go` (+1 -1) 📝 `demos/flex/main.go` (+1 -1) 📝 `demos/form/main.go` (+1 -1) 📝 `demos/frame/main.go` (+1 -1) 📝 `demos/grid/main.go` (+1 -1) 📝 `demos/inputfield/main.go` (+1 -1) 📝 `demos/list/main.go` (+1 -1) 📝 `demos/modal/main.go` (+1 -1) 📝 `demos/pages/main.go` (+1 -1) 📝 `demos/presentation/cover.go` (+3 -1) 📝 `demos/presentation/main.go` (+15 -12) 📝 `demos/table/main.go` (+1 -1) 📝 `demos/textview/main.go` (+1 -1) _...and 14 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:08:41 +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/tview#945
No description provided.