Commit Graph

56 Commits (e4d167311d7708471e449a05b3d1c9dfb061abfc)

Author SHA1 Message Date
Oliver e4d167311d Upgraded to latest tcell version. Results in a minor incompatibility in the Table class. 4 years ago
Oliver 0a2427525a Removed size change check (apparently this led to problems on Windows). Fixes #401, closes #404 4 years ago
Oliver deb54e1422 Keyboard events are now propagated down the hierarchy, allowing users to intercept them. Closes #421 4 years ago
Oliver f395cf6e33 Added mouse scrolling to List, Table, TextView, and TreeView. 4 years ago
Oliver 9af6826328 Added/fixed comments, some structural changes/bugfixes for mouse support. Table, TextView, and TreeView still open. Closes #363 4 years ago
rivo 160d8fda1d
Merge pull request #363 from millerlogic/mouse-support
Mouse support
4 years ago
Chris Miller 55c590d97f Refactor fireMouseActions 4 years ago
Chris Miller 12f94f688a Document DoubleClickInterval 4 years ago
Chris Miller 55cdc84e25 EnableMouse to take bool and enable/disable directly 4 years ago
Chris Miller 15700e7129 Minor changes 4 years ago
Chris Miller 1fb9862c00 Separate action events 4 years ago
Oliver fe30520195 Application.QueueUpdate() returns after its provided function has executed. 4 years ago
Chris Miller 5ef51540da Double click interval 4 years ago
Chris Miller 8abbf770ec Change mouse handler func 4 years ago
Oliver 3a5c6317e4 Setting time of last redraw. 4 years ago
Oliver f1ffa42918 Throttling resize events. Resolves #378 4 years ago
Chris Miller 9598ca2519 New mouse design
capture bool not finalized
4 years ago
Chris Miller cd3c60e6d1 Refactor EventMouse 5 years ago
Chris Miller 93c0edc4a8 Get mouse actions rather than just mouse state 5 years ago
Chris Miller 2f4b6ad748 Return self 5 years ago
Chris Miller 96875c75b9 Added mouse handling 5 years ago
Oliver 0e689965bb Fixed wrong handling of 8-bit ANSI colors. Fixes #317 5 years ago
Oliver 36893a6697 Minor improvements. 6 years ago
Oliver e432b27b03 unicode.Lm characters were wrongly used as pure combining characters. Fixes #210 6 years ago
Oliver 502ddb9205 Added a clarification. 6 years ago
Oliver d7c8911ef0 Added Application.ForceDraw(). 6 years ago
Oliver 19fbe6241a Making suspended mode work again on Windows. Fixes #179 6 years ago
Oliver 1bfe98092c On Windows, tcell.Screen.Fini() sends a resize event before sending nil. Fixed resulting deadlock. Fixes #179 6 years ago
Oliver ebf651d1c0 Bugfix: nil return value in input capture should not stop the event loop. Fixes #179 6 years ago
Oliver 1dd674a1b9 Simplified the queuing of Draw() calls, also introduced QueueUpdateDraw(). #172 6 years ago
Oliver c22d5570be Bugfixes/improvements to PR #172. 6 years ago
Marc CB 313fed77b2 make primitive updates thread-safe using channels 6 years ago
Oliver fed6446838 Added the possibility to provide your own tcell.Screen object to Application. Resolves #159 6 years ago
Oliver cc64ead1ed Made Application.Draw() thread-safe (for real this time). Fixes #136 6 years ago
Oliver 83483397e8 Cosmetic improvements. 6 years ago
Konstantin Vorobyev 01a39a486d Review feedback 6 years ago
Konstantin Vorobyev 2ac0e9e086 Block main event loop with mutex during Suspend() call 6 years ago
Oliver 11727c933b Added suspended mode to Application. (Swallows one key event, tcell issue pending.) Resolves #70 6 years ago
Oliver 45acc0d895 Added getters for some callback functions. Resolves #65 6 years ago
Oliver c96894c0cf Bugfix which caused a crash in Table class. Fixes #67 6 years ago
Oliver c2f07f9548 Some housekeeping. 6 years ago
Oliver 1b155a1def Application now provides direct access to the screen object via before/after-draw callback functions. Resolves #59 6 years ago
Oliver 4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 7 years ago
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 7 years ago
Oliver 4153189e1b A resize event should have the screen cleared before redrawing. Fixes #19 7 years ago
Oliver fdab2627c3 Calling Application.Draw() for global key handlers which steal the event. 7 years ago
Oliver 17c785e1f8 Application does not lock on PollEvent() call anymore. Should resolve gridlocks when calling SetRoot() in goroutines. Resolves #6 7 years ago
Oliver 8c9be84ef8 Various improvements. 7 years ago
Oliver 60313b7f25 SetRoot() also sets focus. 7 years ago
Oliver 9659be0e90 No need to explicitly hide the cursor in no-cursor primitives. 7 years ago