src

Go monorepo.
Log | Files | Refs

quit.go (187B)


      1 package editor
      2 
      3 func (e *Editor) quit() {
      4 	e.canvas.Reset()
      5 
      6 	if err := e.terminal.Reset(); err != nil {
      7 		e.log.Error.Printf(
      8 			"failed to reset terminal attributes: %v", err,
      9 		)
     10 	}
     11 }