ref: 3a3863dbbe54b0615927b2f30681d12085fb813b
parent: 6dda20c28ef5b8aa65ada672a4a388d0ea8f6f77
author: qwx <qwx@sciops.net>
date: Wed Jul 26 00:46:50 EDT 2023
prompt: don't mangle the screen
--- a/pplay.c
+++ b/pplay.c
@@ -75,7 +75,7 @@
chartorune(&q, buf);
if(q != r)
snprint(buf, sizeof buf, "%C", r);
- if(enter(nil, buf, sizeof(buf)-UTFmax, mc, kc, _screen) < 0)
+ if(enter(nil, buf, sizeof(buf)-UTFmax, mc, kc, nil) < 0)
return nil;
return buf;
}