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

62 Commits

Author SHA1 Message Date
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
Chris Miller
38e7206af9 Update mouse buttons for tcell v2 2021-02-14 22:43:27 +00:00
Oliver
a72fc10c54 Enabling mouse (if requested) on replaced Screen objects. Fixes #545 2021-01-11 18:44:53 +01:00
Oliver
7481775fcd Application can be stopped in suspended mode. Fixes #499 2020-12-04 17:13:40 +01:00
Oliver
675ed5b96b Removed Focusable interface. 2020-11-17 19:33:25 +01: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
Oliver
0a2427525a Removed size change check (apparently this led to problems on Windows). Fixes #401, closes #404 2020-08-18 12:21:46 +02:00
Oliver
deb54e1422 Keyboard events are now propagated down the hierarchy, allowing users to intercept them. Closes #421 2020-08-18 12:05:43 +02:00
Oliver
f395cf6e33 Added mouse scrolling to List, Table, TextView, and TreeView. 2020-03-29 21:36:06 +02:00
Oliver
9af6826328 Added/fixed comments, some structural changes/bugfixes for mouse support. Table, TextView, and TreeView still open. Closes #363 2020-03-27 18:41:44 +01:00
rivo
160d8fda1d
Merge pull request #363 from millerlogic/mouse-support
Mouse support
2020-03-26 19:28:51 +01:00
Chris Miller
55c590d97f Refactor fireMouseActions 2020-03-03 18:07:39 +00:00
Chris Miller
12f94f688a Document DoubleClickInterval 2020-03-03 17:45:32 +00:00
Chris Miller
55cdc84e25 EnableMouse to take bool and enable/disable directly 2020-03-03 16:24:50 +00:00
Chris Miller
15700e7129 Minor changes 2020-03-03 16:16:56 +00:00
Chris Miller
1fb9862c00 Separate action events 2020-02-28 01:19:36 +00:00
Oliver
fe30520195 Application.QueueUpdate() returns after its provided function has executed. 2020-02-19 17:01:20 +01:00
Chris Miller
5ef51540da Double click interval 2020-02-14 02:45:13 +00:00
Chris Miller
8abbf770ec Change mouse handler func 2020-02-14 02:09:09 +00:00
Oliver
3a5c6317e4 Setting time of last redraw. 2020-01-29 07:55:29 +01:00
Oliver
f1ffa42918 Throttling resize events. Resolves #378 2020-01-27 15:20:36 +01:00
Chris Miller
9598ca2519 New mouse design
capture bool not finalized
2020-01-24 20:40:34 +00:00
Chris Miller
cd3c60e6d1 Refactor EventMouse 2019-11-05 09:19:40 +00:00
Chris Miller
93c0edc4a8 Get mouse actions rather than just mouse state 2019-11-05 06:03:04 +00:00
Chris Miller
2f4b6ad748 Return self 2019-11-04 05:42:46 +00:00
Chris Miller
96875c75b9 Added mouse handling 2019-11-04 05:34:46 +00:00
Oliver
0e689965bb Fixed wrong handling of 8-bit ANSI colors. Fixes #317 2019-07-11 11:30:32 +01:00
Oliver
36893a6697 Minor improvements. 2018-12-26 21:24:39 +01:00
Oliver
e432b27b03 unicode.Lm characters were wrongly used as pure combining characters. Fixes #210 2018-12-25 18:55:57 +01:00
Oliver
502ddb9205 Added a clarification. 2018-12-03 17:28:51 +01:00
Oliver
d7c8911ef0 Added Application.ForceDraw(). 2018-12-03 10:50:38 +01:00
Oliver
19fbe6241a Making suspended mode work again on Windows. Fixes #179 2018-11-26 12:04:06 +01:00
Oliver
1bfe98092c On Windows, tcell.Screen.Fini() sends a resize event before sending nil. Fixed resulting deadlock. Fixes #179 2018-11-19 10:35:28 +01:00
Oliver
ebf651d1c0 Bugfix: nil return value in input capture should not stop the event loop. Fixes #179 2018-11-10 11:10:01 +01:00
Oliver
1dd674a1b9 Simplified the queuing of Draw() calls, also introduced QueueUpdateDraw(). #172 2018-11-05 10:53:57 +01:00
Oliver
c22d5570be Bugfixes/improvements to PR #172. 2018-10-28 13:42:49 +01:00
Marc CB
313fed77b2 make primitive updates thread-safe using channels 2018-10-09 00:02:02 -04:00
Oliver
fed6446838 Added the possibility to provide your own tcell.Screen object to Application. Resolves #159 2018-09-05 13:26:22 +02:00
Oliver
cc64ead1ed Made Application.Draw() thread-safe (for real this time). Fixes #136 2018-07-27 16:30:50 +02:00
Oliver
83483397e8 Cosmetic improvements. 2018-06-28 14:49:42 +02:00
Konstantin Vorobyev
01a39a486d Review feedback 2018-06-20 19:32:19 +02:00
Konstantin Vorobyev
2ac0e9e086 Block main event loop with mutex during Suspend() call 2018-06-20 17:04:03 +02:00
Oliver
11727c933b Added suspended mode to Application. (Swallows one key event, tcell issue pending.) Resolves #70 2018-03-13 08:16:09 +01:00
Oliver
45acc0d895 Added getters for some callback functions. Resolves #65 2018-03-10 23:30:49 +01:00
Oliver
c96894c0cf Bugfix which caused a crash in Table class. Fixes #67 2018-03-10 12:59:42 +01:00
Oliver
c2f07f9548 Some housekeeping. 2018-03-05 16:37:10 +01:00
Oliver
1b155a1def Application now provides direct access to the screen object via before/after-draw callback functions. Resolves #59 2018-02-20 17:15:42 +01:00
Oliver
4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 2018-01-17 21:17:59 +01:00
Oliver
626453b2a6 All primitives now offer a way to intercept all key events sent to them. Also made the global key event intercept handler more general/consistent. Resolves #22 2018-01-14 21:29:34 +01:00