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

516 Commits

Author SHA1 Message Date
rivo
d882656547
Merge branch 'master' into master 2021-09-09 17:48:54 +02:00
rivo
7dc913c835
Merge pull request #642 from sachaos/feature/add-viddy
Add viddy: a modern watch command to README
2021-09-09 17:47:57 +02:00
rivo
9a8868add0
Merge pull request #643 from amorenoz/fix_tcell_ref
go.mod: fix wrong reference to tcell dependency
2021-09-09 17:45:39 +02:00
Adrian Moreno
6e31eb2925 go.mod: fix wrong reference to tcell dependency
Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
2021-09-09 17:19:00 +02:00
Takumasa Sakao
173e0b7775 Add viddy: a modern watch command to README 2021-09-09 18:17:13 +09:00
Oliver
2f13f81dcb Upgraded to latest tcell commit. Fixes #624 2021-09-04 19:31:54 +02:00
Oliver
9b6f0f012d Navigation bugfix and improved comments. 2021-08-08 11:52:26 +02:00
Oliver
2cef1c04ba Rewrote Table to accommodate virtual tables. 2021-08-08 00:25:53 +02:00
infl00pLabs
e0e3674477
Add gobit project that uses tview to Readme 2021-07-09 13:38:09 +03:00
Wenshiqi222
6bc094860b
Merge pull request #1 from Wenshiqi222/Wenshiqi222-patch-1
A   word spelling error in comment dropdown.go
2021-07-06 11:09:01 +08:00
Wenshiqi222
bcb1cef989
Update dropdown.go
A little comment error
2021-07-06 11:03:28 +08:00
Oliver
29d673af0c Added SetListStyles() to DropDown. Resolves #621 2021-06-24 18:53:35 +02:00
Oliver
36f5c190ea Handling tcell.ErrorEvent now. Fixes #617 2021-06-24 18:27:19 +02:00
rivo
5f84306246
Merge pull request #623 from bnaydenov/add_ssmbrowse_into_referenace_projects
update README.md - add ssmbrowse as reference projects using tview
2021-06-24 17:51:30 +02:00
Bogdan Naydenov
452d977252 update README.md - add ssmbrowse as reference projects using tview 2021-06-23 15:41:35 -04:00
rivo
d4fb034822
Merge pull request #616 from KenanBek/patch-1
Add project DBUI into README tview
2021-06-08 12:56:43 +02:00
Kanan Rahimov
407245b401
Add project DBUI into README tview 2021-06-07 21:44:47 +02:00
Oliver
25fe827270 TreeView scrolling now allows current selection to go out of view. Resolves #613 2021-06-01 10:44:49 +02:00
Oliver
807e706f86 Forms cannot rely purely on a rect check for mouse clicks as drop-downs may extend beyond it. Fixes #602 2021-05-31 12:46:47 +02:00
Oliver
2003bc0698 Removed an unnecessary call to Focus() in Form. Fixes #612 2021-05-31 11:53:39 +02:00
Oliver
435b99e1df Mouse scrolling on TreeView scrolls instead of selecting nodes. Fixes #607 2021-05-29 11:36:04 +02:00
Oliver
c24a22db24 Added Application.Sync(), a function to re-sync the screen when its corrupted. Resolves #603 2021-05-28 20:52:09 +02:00
Oliver
9e4ad35cfc Merge branch 'master' of github.com:rivo/tview 2021-05-28 20:06:39 +02:00
Oliver
21d1a2de10 Fixed wrong mouse click test on drop-downs. Fixes #600 2021-05-28 20:06:28 +02:00
rivo
1fd4a5b7aa
Merge pull request #605 from ledongthuc/patch-1
Add project GoHowMuch into README tview
2021-05-21 11:12:41 +02:00
Thuc Le
8702cf71d3
Add project GoHowMuch into README tview 2021-05-21 08:54:28 +02:00
Oliver
c723ed0769 Upgraded to latest tcell version. Fixes #70 2021-05-20 18:33:42 +02:00
rivo
22dbf8415b
Merge pull request #599 from darylhjd/master
Add MangaDesk to list of projects
2021-05-14 22:28:09 +02:00
darylhjd
84ec33078a
Update README.md 2021-05-14 15:53:05 +08:00
Oliver
09cec83b17 Merge branch 'master' of github.com:rivo/tview 2021-04-27 13:28:37 +02:00
Oliver
b610d436f3 Minor improvements. 2021-04-27 13:28:32 +02:00
rivo
00fa626732
Merge pull request #587 from qnkhuat/master
Add GoChess to README.md #Projects
2021-04-27 13:23:39 +02:00
rivo
ddd302a95b
Merge branch 'master' into master 2021-04-27 13:23:28 +02:00
rivo
08e0e45635
Merge pull request #590 from issadarkthing/gomu
Add gomu to the list of projects
2021-04-27 13:21:51 +02:00
Oliver
ba9f3a6fa1 Fixed missed tag at EOL in TextView. Fixes #531 2021-04-27 09:08:36 +02:00
Oliver
3ac88670dd TreeView.process() fires the changed callback and therefore needs to remain in input handler. Fixes #579 2021-04-26 16:43:34 +02:00
rivo
9f215ef4fd
Merge pull request #581 from berrange/pg-keys
Fix inverted handling of KeyPgDn/KeyPgUp in List widget
2021-04-26 16:30:04 +02:00
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