aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorDan Nicolaescu <[email protected]>2007-09-10 21:25:32 +0000
committerDan Nicolaescu <[email protected]>2007-09-10 21:25:32 +0000
commit47cc881946f519bac2ecaf310c88c6fb7de6c505 (patch)
tree0fe88f709686dfca341a0ce64e8fdaa8c80ddcbf /src/term.c
parent9cab96b06b2a7093d630a78f7f7d23c1f3965fe3 (diff)
* xterm.c (x_create_terminal): Add comment.
* term.c (clear_tty_hooks, set_tty_hooks): Add comments.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index 2ed6435c34..144b14a1e3 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3039,6 +3039,7 @@ delete_tty_output (struct frame *f)
}
+/* Reset the hooks in TERMINAL. */
static void
clear_tty_hooks (struct terminal *terminal)
@@ -3076,6 +3077,8 @@ clear_tty_hooks (struct terminal *terminal)
terminal->delete_terminal_hook = &delete_tty;
}
+/* Initialize hooks in TERMINAL with the values needed for a tty. */
+
static void
set_tty_hooks (struct terminal *terminal)
{