mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
New API to suspend a loop
This commit is contained in:
@@ -58,7 +58,8 @@ type Loop struct {
|
||||
pending_writes []*write_msg
|
||||
on_SIGTSTP func() error
|
||||
|
||||
// Send strings to this channel to queue writes in a thread safe way
|
||||
// Suspend the loop restoring terminal state. Call the return resume function to restore the loop
|
||||
Suspend func() (func() error, error)
|
||||
|
||||
// Callbacks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user