#include "addrs.h" /**** public API ****/ #define EDBOX_SIZE 240 /* clear the contents of the edit box (whether it's visible or not) */ void edbox_clear(void); /* make the edit box visible */ void edbox_show(void); /* make the edit box go away (current screen's status lines display instead) */ void edbox_hide(void); /* put one character into the edit box. */ void edbox_putc(char c); /* wait for a keystroke, insert its character into the edit box. if Return is pressed, edbox_callback gets called (if it's set!) */ void edbox_keystroke(void); /* called when the user presses Return */ extern void (*edbox_callback)(void);