1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-05 00:59:19 +02:00

bump gocui

This commit is contained in:
Jesse Duffield
2021-09-27 19:51:44 +10:00
parent ab0117c416
commit c8e9d1b4fc
112 changed files with 4773 additions and 4538 deletions

View File

@ -78,6 +78,17 @@ type Screen interface {
// response to a call to Clear or Flush.
Size() (int, int)
// ChannelEvents is an infinite loop that waits for an event and
// channels it into the user provided channel ch. Closing the
// quit channel and calling the Fini method are cancellation
// signals. When a cancellation signal is received the method
// returns after closing ch.
//
// This method should be used as a goroutine.
//
// NOTE: PollEvent should not be called while this method is running.
ChannelEvents(ch chan<- Event, quit <-chan struct{})
// PollEvent waits for events to arrive. Main application loops
// must spin on this to prevent the application from stalling.
// Furthermore, this will return nil if the Screen is finalized.