[qwaq] Rename input.c

It's very specialized toward terminal input (ie, for qwaq-curses).
This commit is contained in:
Bill Currie 2021-12-20 15:15:18 +09:00
parent 7892382639
commit 97c3cbf719
4 changed files with 5 additions and 5 deletions

View file

@ -73,8 +73,8 @@ ruamoko_qwaq_qwaq_curses_SOURCES= \
ruamoko/qwaq/builtins/curses.c \
ruamoko/qwaq/builtins/debug.c \
ruamoko/qwaq/builtins/editbuffer.c \
ruamoko/qwaq/builtins/input.c \
ruamoko/qwaq/builtins/qwaq-curses.c \
ruamoko/qwaq/builtins/term-input.c \
ruamoko/qwaq/builtins/threading.c
ruamoko_qwaq_qwaq_curses_LDADD= $(qwaq_curses_libs) $(QWAQ_LIBS) \

View file

@ -60,7 +60,7 @@
static progsinit_f main_app[] = {
BI_Curses_Init,
BI_Input_Init,
BI_TermInput_Init,
QWAQ_EditBuffer_Init,
QWAQ_Debug_Init,
0

View file

@ -1,5 +1,5 @@
/*
input.c
term-input.c
Input handling
@ -891,7 +891,7 @@ bi_input_shutdown (void *_pr)
}
void
BI_Input_Init (progs_t *pr)
BI_TermInput_Init (progs_t *pr)
{
qwaq_input_resources_t *res = calloc (sizeof (*res), 1);
res->pr = pr;

View file

@ -26,7 +26,7 @@ typedef struct qwaq_thread_set_s DARRAY_TYPE(qwaq_thread_t *) qwaq_thread_set_t;
struct memhunk_s;
void BI_Init (struct memhunk_s *hunk, progs_t *pr);
void BI_Curses_Init (progs_t *pr);
void BI_Input_Init (progs_t *pr);
void BI_TermInput_Init (progs_t *pr);
void QWAQ_EditBuffer_Init (progs_t *pr);
extern struct cbuf_s *qwaq_cbuf;
qwaq_thread_t *create_thread (void *(*thread_func) (qwaq_thread_t *), void *);