summaryrefslogtreecommitdiffstats
path: root/term-utils
diff options
context:
space:
mode:
Diffstat (limited to 'term-utils')
-rw-r--r--term-utils/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/script.c b/term-utils/script.c
index 506f0bb38..bbf52efd5 100644
--- a/term-utils/script.c
+++ b/term-utils/script.c
@@ -205,7 +205,7 @@ static void typescript_message_start(const struct script_control *ctl, time_t *t
if (tty)
fprintf(ctl->typescriptfp, "TTY=\"%s\" ", tty);
- fprintf(ctl->typescriptfp, "COLS=\"%d\" LINES=\"%d\"", cols, lines);
+ fprintf(ctl->typescriptfp, "COLUMNS=\"%d\" LINES=\"%d\"", cols, lines);
} else
fprintf(ctl->typescriptfp, _("<not executed on terminal>"));