mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-13 12:08:45 +02:00
More work on porting receive kitten
This commit is contained in:
@@ -98,6 +98,12 @@ type Loop struct {
|
||||
|
||||
// Called when main loop is woken up
|
||||
OnWakeup func() error
|
||||
|
||||
// Called on SIGINT return true if you wish to handle it yourself
|
||||
OnSIGINT func() (bool, error)
|
||||
|
||||
// Called on SIGTERM return true if you wish to handle it yourself
|
||||
OnSIGTERM func() (bool, error)
|
||||
}
|
||||
|
||||
func New(options ...func(self *Loop)) (*Loop, error) {
|
||||
|
||||
Reference in New Issue
Block a user