summaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/terminal.c b/terminal.c
index 895a2176cb32..ab5e62843fc1 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1,4 +1,4 @@
-/* $NetBSD: terminal.c,v 1.46 2023/02/04 14:34:28 christos Exp $ */
+/* $NetBSD: terminal.c,v 1.47 2025/12/16 02:40:48 kre Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95";
#else
-__RCSID("$NetBSD: terminal.c,v 1.46 2023/02/04 14:34:28 christos Exp $");
+__RCSID("$NetBSD: terminal.c,v 1.47 2025/12/16 02:40:48 kre Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -851,7 +851,7 @@ terminal_set(EditLine *el, const char *term)
if (term == NULL)
- term = getenv("TERM");
+ term = (el->el_getenv)("TERM");
if (!term || !term[0])
term = "dumb";