• Dmitry Antipov's avatar
    * termhooks.h (FRAME_MUST_WRITE_SPACES, FRAME_LINE_INS_DEL_OK) · 77e3b1b7
    Dmitry Antipov authored
    Adjust to match the change described below.
    (struct terminal): Move must_write_spaces, line_ins_del_ok,
    char_ins_del_ok, scroll_region_ok, scroll_region_cost and
    memory_below_frame members to...
    * termchar.h (struct tty_display_info): ...here because they're
    relevant only on TTYs.  Prefer unsigned bitfield where appropriate.
    * term.c (init_tty):
    * nsterm.m (ns_create_terminal):
    * w32term.c (w32_create_terminal):
    * xterm.c (x_create_terminal): Adjust users.
    * dispnew.c (line_hash_code, line_draw_cost): Pass frame arg
    to filter out non-TTY frames.  Adjust comment.
    (scrolling): Adjust user.  Prefer eassert for debugging check.
termhooks.h 24.4 KB