[PR #584] [CLOSED] Allow arrow-left to move to previous line in table view #989

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

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/584
Author: @abrander
Created: 3/29/2021
Status: Closed

Base: masterHead: table-left-overflow


📝 Commits (2)

  • 6f1e19c Allow cursor-left to move to previous line in table view, if at leftmost cell.
  • 577abff Merge branch 'rivo:master' into table-left-overflow

📊 Changes

1 file changed (+6 additions, -1 deletions)

View changed files

📝 table.go (+6 -1)

📄 Description

This PR will enable the table view to move the cursor to the previous line if "arrow-left" is pressed in the first column. Pressing right in the last column is already supported.

Right now a user can press "right arrow" at the rightmost cell in a row and end up in the start of next row - unable to get back by pressing "arrow left". This PR fixes that.


🔄 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/584 **Author:** [@abrander](https://github.com/abrander) **Created:** 3/29/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `table-left-overflow` --- ### 📝 Commits (2) - [`6f1e19c`](https://github.com/rivo/tview/commit/6f1e19c6fe42b79ba989f62db1e5631dd9d6e008) Allow cursor-left to move to previous line in table view, if at leftmost cell. - [`577abff`](https://github.com/rivo/tview/commit/577abffd1be55946b71a5d8cead27a5429576267) Merge branch 'rivo:master' into table-left-overflow ### 📊 Changes **1 file changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `table.go` (+6 -1) </details> ### 📄 Description This PR will enable the table view to move the cursor to the previous line if "arrow-left" is pressed in the first column. Pressing right in the last column is already supported. Right now a user can press "right arrow" at the rightmost cell in a row and end up in the start of next row - unable to get back by pressing "arrow left". This PR fixes that. --- <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:53 +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#989
No description provided.