/****************************************************************************
- * Copyright (c) 1998-2014,2017 Free Software Foundation, Inc. *
+ * Copyright 2019,2020 Thomas E. Dickey *
+ * Copyright 1998-2014,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* authorization. *
****************************************************************************/
/*
- * $Id: firework.c,v 1.34 2017/09/09 00:35:56 tom Exp $
+ * $Id: firework.c,v 1.37 2020/02/02 23:34:34 tom Exp $
*/
#include <test.priv.h>
static void
cleanup(void)
{
- exit_curses();
+ stop_curses();
}
static void
if (optind < argc)
usage();
- CATCHALL(onsig);
-
- initscr();
+ InitAndCatch(initscr(), onsig);
noecho();
cbreak();
keypad(stdscr, TRUE);