#include "keyboard.h"
#include "frame.h"
#include "window.h"
+#include "systty.h" /* For emacs_tty in termchar.h */
#include "termchar.h"
#include "dispextern.h"
#include "buffer.h"
/* Window must either use window-based redisplay or be full width. */
if (!FRAME_WINDOW_P (f)
- && (!TERMINAL_LINE_INS_DEL_OK (CURRENT_TERMINAL ())
+ && (!TTY_LINE_INS_DEL_OK (CURTTY ())
|| !WINDOW_FULL_WIDTH_P (w)))
GIVE_UP (4);
/* On dumb terminals delete dvpos lines at the end
before inserting dvpos empty lines. */
- if (!TERMINAL_SCROLL_REGION_OK (CURRENT_TERMINAL ()))
+ if (!TTY_SCROLL_REGION_OK (CURTTY ()))
ins_del_lines (end - dvpos, -dvpos);
/* Insert dvpos empty lines in front of
/* On a dumb terminal insert dvpos empty lines at the
end. */
- if (!TERMINAL_SCROLL_REGION_OK (CURRENT_TERMINAL ()))
+ if (!TTY_SCROLL_REGION_OK (CURTTY ()))
ins_del_lines (end + dvpos, -dvpos);
}