[PR #118] [MERGED] Generalising the mouse button FSM. #204

Closed
opened 2026-03-03 16:23:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mum4k/termdash/pull/118
Author: @mum4k
Created: 2/13/2019
Status: Merged
Merged: 2/13/2019
Merged by: @mum4k

Base: develHead: mouse-fsm


📝 Commits (3)

  • 09f2140 API for the mouse FSM.
  • 768e3c3 Generalizing the mouse button FSM.
  • 9613145 Updating CHANGELOG and licences.

📊 Changes

6 files changed (+400 additions, -74 deletions)

View changed files

📝 CHANGELOG.md (+5 -0)
📝 container/container.go (+2 -2)
📝 container/focus.go (+18 -5)
container/mouse_fsm.go (+0 -67)
mouse/button/button.go (+130 -0)
mouse/button/button_test.go (+245 -0)

📄 Description

Taking this out of the container package so it can be reused by widgets.

Fixes #21


🔄 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/mum4k/termdash/pull/118 **Author:** [@mum4k](https://github.com/mum4k) **Created:** 2/13/2019 **Status:** ✅ Merged **Merged:** 2/13/2019 **Merged by:** [@mum4k](https://github.com/mum4k) **Base:** `devel` ← **Head:** `mouse-fsm` --- ### 📝 Commits (3) - [`09f2140`](https://github.com/mum4k/termdash/commit/09f2140437f61db3d232dae28603c0856bdba1c8) API for the mouse FSM. - [`768e3c3`](https://github.com/mum4k/termdash/commit/768e3c306cac3d94f5e1005bea11a94912a61d9a) Generalizing the mouse button FSM. - [`9613145`](https://github.com/mum4k/termdash/commit/9613145a477a8bffc3652101717ddee1eb10c839) Updating CHANGELOG and licences. ### 📊 Changes **6 files changed** (+400 additions, -74 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+5 -0) 📝 `container/container.go` (+2 -2) 📝 `container/focus.go` (+18 -5) ➖ `container/mouse_fsm.go` (+0 -67) ➕ `mouse/button/button.go` (+130 -0) ➕ `mouse/button/button_test.go` (+245 -0) </details> ### 📄 Description Taking this out of the container package so it can be reused by widgets. Fixes #21 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:23:17 +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/termdash#204
No description provided.