HackerTrans
TopNewTrendsCommentsPastAskShowJobs

boalberto

no profile record

comments

boalberto
·4 ปีที่แล้ว·discuss
Thanks! Was great fun following along. Noticed a small typo in the first code segment, `screen` becomes `s` when calling s.Init().

Looking forward to part 2!

  func main() {
  
      screen, err := tcell.NewScreen()
  
      if err != nil {
          log.Fatalf("%+v", err)
      }
      if err := s.Init(); err != nil {
          log.Fatalf("%+v", err)
      }
  }