mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[PR #268] [CLOSED] Optimizations for TextView #891
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#891
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rivo/tview/pull/268
Author: @urandom
Created: 4/14/2019
Status: ❌ Closed
Base:
master← Head:textview-optimizations📝 Commits (2)
7fc7ecdOptimizations for TextView8d70a30Optimize the decomposeString usage📊 Changes
3 files changed (+71 additions, -54 deletions)
View changed files
📝
table.go(+1 -1)📝
textview.go(+57 -45)📝
util.go(+13 -8)📄 Description
Only clear the index when the textview dimensions change or the text
itself is cleared.
Add to the index when new text is added to the view.
Fixes #266
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.