1
0
Files
2022-09-29 17:59:04 +03:00

24 lines
650 B
C

/* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF */
/* UNIX System Laboratories, Inc. */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
#ident "@(#)curses:screen/tinputfd.c 1.1"
#include "curses_inc.h"
/* Set the input channel for the current terminal. */
void
tinputfd(int fd)
{
cur_term->_inputfd = fd;
cur_term->_delay = -1;
/* so that tgetch will reset it to be _inputd */
/* cur_term->_check_fd = -2; */
}