Commit Graph

623 Commits

Author SHA1 Message Date
Oliver 5508f4b002 Added italics and strikethrough to style attributes. Resolves #457 2021-10-01 12:26:48 +02:00
Oliver ee97a7ab39 Allowing users to determine whether a table selection should wrap. Defaults to false now. Resolves #656 2021-09-26 20:16:11 +02:00
Oliver 2cb20002bc Removed accidental inclusion of Postgres driver. 2021-09-23 07:17:54 +02:00
Oliver bb872b4b26 Added a reference go Golang's Code of Conduct instead of rolling our own. 2021-09-20 18:36:36 +02:00
Oliver 78cf54e830 Merge branch 'virtualtable' 2021-09-20 18:14:01 +02:00
rivo f7430b878d
Merge pull request #626 from Wenshiqi222/master
A little comment error  in dropdown.go
2021-09-09 17:49:44 +02:00
rivo 977fa2d906
Merge pull request #627 from infl00p/master
Add gobit project that uses tview to Readme
2021-09-09 17:49:19 +02:00
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