77 Commits (master)

Author SHA1 Message Date
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. 6 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 6 years ago
Oliver 4153189e1b A resize event should have the screen cleared before redrawing. Fixes #19 6 years ago
Oliver fdab2627c3 Calling Application.Draw() for global key handlers which steal the event. 6 years ago
Oliver 17c785e1f8 Application does not lock on PollEvent() call anymore. Should resolve gridlocks when calling SetRoot() in goroutines. Resolves #6 6 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
Oliver 1cc5331a5c Fixed focus delegation. 7 years ago
Oliver 3670319cd6 Fixed a number of bugs and added missing useful functions. 7 years ago
Oliver 6ba3fef9bc Added a method to Application to intercept key presses. 7 years ago
Oliver 8f59d491ee Added Table primitive. Still ironing out some minor issues. 7 years ago
Oliver f5788cfc52 Added regions and highlights to TextView. 7 years ago
Oliver 111dda7788 Fixed inconsistent filename. 7 years ago