aboutsummaryrefslogtreecommitdiffstats
path: root/src/nsterm.m
diff options
context:
space:
mode:
authorDmitry Antipov <[email protected]>2013-10-14 16:19:21 +0400
committerDmitry Antipov <[email protected]>2013-10-14 16:19:21 +0400
commit77e3b1b7095b3376dbddd22cbca4827b797767c0 (patch)
tree1e5cbc68a42c7e1b08acf36d94bc4b158d6117a0 /src/nsterm.m
parente558436b778c0199caaff0ce40b9a279bacf640e (diff)
* termhooks.h (FRAME_MUST_WRITE_SPACES, FRAME_LINE_INS_DEL_OK)
(FRAME_CHAR_INS_DEL_OK, FRAME_SCROLL_REGION_OK) (FRAME_SCROLL_REGION_COST, FRAME_MEMORY_BELOW_FRAME): 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.
Diffstat (limited to 'src/nsterm.m')
-rw-r--r--src/nsterm.m5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 5f034a4dff..b0067d85ea 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -4091,11 +4091,6 @@ ns_create_terminal (struct ns_display_info *dpyinfo)
terminal->delete_frame_hook = x_destroy_window;
terminal->delete_terminal_hook = ns_delete_terminal;
- terminal->scroll_region_ok = 1;
- terminal->char_ins_del_ok = 1;
- terminal->line_ins_del_ok = 1;
- terminal->memory_below_frame = 0;
-
return terminal;
}