/* Ctrl-C and Ctrl-V. */
-#include "pd_readline.h"
+#include "pd_readline.h"
int main(void)
{
+ /* Create a buffer for the text. */
+ buf mybuf;
+
+
/* Read in the command history file. */
readhistory("test.txt");
while(1)
{
- keyhandler();
+ keyhandler(mybuf);
}