keeping up with 10-haskell: now trying BufRead+WinEnter, got it