Commit Graph

444 Commits

Author SHA1 Message Date
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
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