2
0
mirror of https://github.com/rivo/tview.git synced 2024-11-15 06:12:46 +00:00
Commit Graph

529 Commits

Author SHA1 Message Date
Oliver
a74431711b Minor clarification. 2021-04-26 16:20:53 +02:00
Oliver
ea0971753c Upgrade tcell to v2.2.1. 2021-04-26 14:01:46 +02:00
Oliver
7df0389ccc Cleaned up modules. 2021-04-26 13:57:56 +02:00
raziman
ef11d63b76 Add gomu 2021-04-18 09:04:20 +08:00
Quang Ngoc
f68e023e7c
Add GoChess to README.md #Projects 2021-04-04 14:58:24 +07:00
Daniel P. Berrangé
0bca6dadb3 Fix inverted handling of KeyPgDn/KeyPgUp in List widget
Consider a list with 5 items, and the currentItem index is 2, and
all items fit on the screen without scrolling.

KeyPgDn will set currentItem to 7 which is out of bounds, and
gets wrapped around to 0.

KeyPgUp will set currentItem to -3 which is out of bounds, and
gets wrapped around to 4.

Thus PgDn selects the first item, while PgUp selects the last item,
which is the opposite of expected behaviour for these keys. Fix
this by clamping currentItem to the boundaries in the key handler.

Fixes: https://github.com/rivo/tview/issues/580
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-03-15 18:40:20 +00:00
Oliver
ae9464cc35 Upgraded printing and style handling to the new definition of tcell.ColorDefault. 2021-03-12 18:48:52 +01:00
Oliver
ae065beb93 Fixed Box border background colour. 2021-03-12 12:58:47 +01:00
Oliver
b2dec96e1a Upgraded to tcell v2.2.0 and rewrote the Application.Suspend() function to use tcell's new methods. 2021-03-11 20:14:19 +01:00
Oliver
d2371c651b Added more clarification for the use of Application.Draw(). 2021-03-11 18:07:04 +01:00
rivo
046ce97f77
Merge pull request #574 from dundee/patch-1
add gdu to projects
2021-03-11 17:47:31 +01:00
Oliver
eaef439da5 Removed a project that 404'ed from the README file. 2021-03-11 17:32:19 +01:00
Daniel Milde
9888d6fcca
add gdu to projects 2021-03-04 23:12:17 +01:00
Oliver
8a8f78a6dd Added RemoveChild() to TreeNode. Resolves #561 2021-02-17 12:04:21 +01:00
rivo
8d551670db
Merge pull request #567 from millerlogic/mouse-buttons-fix
Update mouse buttons for tcell v2
2021-02-17 11:56:26 +01:00
Oliver
73a23207d2 Added more bash-like key bindings to InputField. Resolves #549 2021-02-17 09:38:35 +01:00
Oliver
c3311ba972 Fixed format for reinserted region tag. 2021-02-16 22:07:47 +01:00
Oliver
09f1384966 Added SetMaxLines() to TextView. Resolves #451, fixes #452 2021-02-16 20:32:36 +01:00
rivo
b1efc6d8c1
Merge pull request #522 from jubalh/typo1
Fix typo in SetColumns() documentation
2021-02-15 19:05:05 +01:00
Oliver
7e1574f46c Merge branch 'master' of github.com:rivo/tview 2021-02-15 18:26:42 +01:00
Oliver
dfabe788d4 Allowing list items to shift horizontally. Resolves #512, fixes #513 2021-02-15 18:26:27 +01:00
Chris Miller
38e7206af9 Update mouse buttons for tcell v2 2021-02-14 22:43:27 +00:00
rivo
dbc1f32bb1
Merge pull request #552 from ajaxray/master
Added geek-life to the list of projects using tview
2021-01-25 09:51:21 +01:00
Anis uddin Ahmad
13009558b2
Added geek-life to the list of projects using tview 2021-01-18 04:34:52 +06:00
Oliver
745e4ceeb7 Upgraded to latest tcell which uses latest go-runewidth which uses uniseg for improved Unicode handling. Resolves #548 2021-01-17 17:24:20 +01:00
Oliver
c818a0c789 Improved autocomplete handling, incuding proper handling of the Tab key. Resolves #546 2021-01-11 19:45:19 +01:00
Oliver
a72fc10c54 Enabling mouse (if requested) on replaced Screen objects. Fixes #545 2021-01-11 18:44:53 +01:00
rivo
8760564449
Merge pull request #539 from swartzrock/master
Added ecsview
2021-01-11 18:02:30 +01:00
Oliver
4624fa9b67 Added hierarchy navigation to TreeView. Resolves #489 2021-01-11 16:07:39 +01:00
Jason Swartz
a8048787f0
Added ecsview 2020-12-14 20:25:13 -08:00
Oliver
5406288b8e Improved finding the next selectable cells in Tables. Resolves #498 2020-12-04 20:08:10 +01:00
Oliver
7481775fcd Application can be stopped in suspended mode. Fixes #499 2020-12-04 17:13:40 +01:00
Oliver
efed17a61c Added TreeNode.GetLevel(). Resolves #502 2020-12-04 16:52:57 +01:00
Oliver
f007e9ad38 Customization of strings displayed when a checkbox is checked. Resolves #518 2020-11-18 07:36:54 +01:00
Oliver
f9f2182520 Upgraded to latest uniseg package. 2020-11-17 19:59:59 +01:00
rivo
358d1d33e9
Merge pull request #504 from profclems/patch-1
Add GLab to list of projects using tview
2020-11-17 19:50:51 +01:00
rivo
a9ce704695
Merge pull request #516 from termoose/add-irccloud
Added IRCCloud CLI client to list of projects
2020-11-17 19:48:16 +01:00
Oliver
675ed5b96b Removed Focusable interface. 2020-11-17 19:33:25 +01:00
Oliver
c3a49506be Merge branch 'master' of github.com:rivo/tview 2020-11-17 15:09:12 +01:00
Oliver
237e3862e0 Bugfix: TreeView mouse events need to consider scroll offset. Fixes #528 2020-11-17 15:08:43 +01:00
Clement Sam
dfcd0cb598
Merge branch 'master' into patch-1 2020-11-10 19:31:17 +00:00
Michael Vetter
05627e20a2 Fix typo in SetColumns() documentation 2020-11-05 14:45:02 +01:00
Ole Andre Birkedal
08f99e45b7 added irccloud cli client to list of projects 2020-10-18 16:20:53 +02:00
rivo
d551c850a7
Merge pull request #487 from dhulihan/patch-1
Update README.md
2020-10-18 14:24:09 +02:00
Oliver
273cbf289d Typo fix. 2020-10-18 14:19:24 +02:00
Oliver
e4d167311d Upgraded to latest tcell version. Results in a minor incompatibility in the Table class. 2020-10-18 14:15:57 +02:00
Clement Sam
11972b496b
docs(readme): add glab to tview projects 2020-09-26 07:09:04 +00:00
Oliver
42866ecf6c Selected autocomplete items should be used without colour tags. Fixes #472 2020-09-15 13:45:12 +02:00
Oliver
9b49eb3fef Added a "clicked" handler to TableCell. Resolves #470 2020-09-15 13:09:44 +02:00
Dave Hulihan
5f85090c27
Update README.md 2020-08-20 21:33:48 -06:00