@@ -68,7 +68,7 @@ import Data.Semigroup ((<>))
69-- The use of Vty typically follows this process:
69-- The use of Vty typically follows this process:
71−-- 1. Initialize vty
71+-- 1. Initialize vty with 'mkVty' (this takes control of the terminal).
73-- 2. Use 'update' to display a picture.
73-- 2. Use 'update' to display a picture.
@@ -76,7 +76,8 @@ import Data.Semigroup ((<>))
77-- 4. Depending on the event, go to 2 or 5.
77-- 4. Depending on the event, go to 2 or 5.
79−-- 5. Shutdown vty.
79+-- 5. Shutdown vty and restore the terminal state with 'shutdown'. At
80+-- this point the 'Vty' handle cannot be used again.
81-- Operations on Vty handles are not thread-safe.
82-- Operations on Vty handles are not thread-safe.