Skip to content
  • Michael Smith's avatar
    Fix cScreen.Fini() race condition (#158) (#159) · 0a0db940
    Michael Smith authored
    * Fix cScreen.Fini() race condition
    
    Closes gdamore/tcell#158
    
    * Tidy up Windows magic, and fix event ordering
    
    * Move a couple of magic values into constants
    * Add more explanatory comments
    * Fix ordering WaitForMultipleObjects to give cancellation priority
    * Also correct some indentation and minor formatting stuff.
    
    * Use `chan struct{}` for `scandone` to not deadlock
    0a0db940