Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- misc-utils/cal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc-utils/cal.c b/misc-utils/cal.c index 548e567..a39c0cd 100644 --- a/misc-utils/cal.c +++ b/misc-utils/cal.c @@ -518,6 +518,9 @@ int main(int argc, char **argv) else monthly(&ctl); +#if defined(HAVE_LIBNCURSES) || defined(HAVE_LIBNCURSESW) || defined(HAVE_LIBTERMCAP) + del_curterm(cur_term); +#endif return EXIT_SUCCESS; } -- 2.4.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html