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

70 Commits

Author SHA1 Message Date
Oliver
47e7db7885 Provided a way to forward Ctrl-C to primites. Resolves #816 2023-02-26 20:52:29 +01:00
Travis Howse
583acbe93c Remove noise 2022-08-14 23:19:25 +10:00
Travis Howse
1a01dc6ba1 Actual fix. 2022-08-14 23:16:21 +10:00
Travis Howse
f541eaf9cd Initialise the copy of screen in the Application struct. 2022-08-14 23:02:19 +10:00
Oliver
20b8a06707 Not promoting a mouse-up event to a click event when it was prevented by a mouse capture. See #752 2022-08-11 22:34:03 +02:00
Oliver
691f46d6f5 Minor clarification. 2022-06-10 18:30:03 +02:00
Oliver
36f5c190ea Handling tcell.ErrorEvent now. Fixes #617 2021-06-24 18:27:19 +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
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