errorhandling

package
v1.1.490 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecoveryWithCleainup

func RecoveryWithCleainup()

RecoveryWithCleainup cleans up a go routine panic ensuring the terminal is left usable Example: (required on all go routines)

`defer errorhandling.RecoveryWithCleainup(recover())`

func RegisterGuiInstance

func RegisterGuiInstance(g *gocui.Gui)

RegisterGuiInstance track the gui instance we can use to cleanup

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL