[PR #319] [MERGED] Sleep presentation TextView1 example when inactive #908

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

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/319
Author: @ajcarvajal
Created: 6/30/2019
Status: Merged
Merged: 2/19/2020
Merged by: @rivo

Base: masterHead: master


📝 Commits (4)

📊 Changes

1 file changed (+7 additions, -3 deletions)

View changed files

📝 demos/presentation/textview.go (+7 -3)

📄 Description

A goroutine in the demo presentation increments an integer infinitely in the background. Now checks hasFocus() and sleeps longer if inactive


🔄 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/319 **Author:** [@ajcarvajal](https://github.com/ajcarvajal) **Created:** 6/30/2019 **Status:** ✅ Merged **Merged:** 2/19/2020 **Merged by:** [@rivo](https://github.com/rivo) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`49350e3`](https://github.com/rivo/tview/commit/49350e374a6b0007ced8ccd7fc949160a19d84ed) make textview1 example sleep when inactive - [`acab75b`](https://github.com/rivo/tview/commit/acab75bc50850e09899bf915b7ca706132e4f419) Merge branch 'master' of https://github.com/rivo/tview - [`e4b4b7f`](https://github.com/rivo/tview/commit/e4b4b7fe823043c55d9e0d98512552eed5d9b2d2) formatting fixes - [`93e6a49`](https://github.com/rivo/tview/commit/93e6a490c38a6d91193ae879b883173532ed479e) Revert "formatting fixes" ### 📊 Changes **1 file changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `demos/presentation/textview.go` (+7 -3) </details> ### 📄 Description A goroutine in the demo presentation increments an integer infinitely in the background. Now checks hasFocus() and sleeps longer if inactive --- <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:31 +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#908
No description provided.