shithub: libacme

Download patch

ref: 521670692b07cbadbf6a88964839d76531ba9afd
parent: 885b4675686e41c2466c1e969711a8c667694c1b
author: james palmer <foura@biobuf.link>
date: Tue Jun 8 12:50:09 EDT 2021

expose aeventnext, it's useful to be able to write a custom aeventlisten

--- a/acme.h
+++ b/acme.h
@@ -52,4 +52,5 @@
 
 Channel *	aeventlisten(AWin *);
 void		aeventstop(AWin *);
+int			aeventnext(Biobuf *bio, AEvent *);
 void		aeventsend(AWin *, AEvent *);
--- a/event.c
+++ b/event.c
@@ -39,7 +39,7 @@
 	return len;
 }
 
-static int
+int
 aeventnext(Biobuf *bio, AEvent *ev)
 {
 	int flags;