shithub: libacme

Download patch

ref: adf4a1f0608eaf424e39993c42ef54737d63e624
parent: 990163b7e4b442c321fbd4466627e80c1c439020
author: james palmer <foura@biobuf.link>
date: Sun Jun 6 19:56:55 EDT 2021

awinopen -> awinfsopen. was confusing: open what?

--- a/acme.h
+++ b/acme.h
@@ -29,9 +29,9 @@
 	char text[AEventSz + 1];	/* text from the event */
 };
 
+int		awinfsopen(AWin *, char *, int);
 AWin *	awincreate(void);
 void	awinclose(AWin *);
-int		awinopen(AWin *, char *, int);
 void	awintitle(AWin *, char *, ...);
 void	awinctl(AWin *, char *, ...);
 void	awinclear(AWin *);
--- a/window.c
+++ b/window.c
@@ -4,7 +4,7 @@
 #include "acme.h"
 
 int
-awinopen(AWin *w, char *f, int mode)
+awinfsopen(AWin *w, char *f, int mode)
 {
 	char buf[128];
 	int fd;