diff --git a/sequencer/src/main.C b/sequencer/src/main.C index 5a4ec1f..0e15edd 100644 --- a/sequencer/src/main.C +++ b/sequencer/src/main.C @@ -29,7 +29,7 @@ #include "pattern.H" #include "phrase.H" - +#include #ifdef HAVE_XPM #include "FL/Fl.H" @@ -232,6 +232,10 @@ main ( int argc, char **argv ) (char**)icon_16x16, &p, &mask, NULL); #endif + ::signal( SIGTERM, sigterm_handler ); + ::signal( SIGHUP, sigterm_handler ); + ::signal( SIGINT, sigterm_handler ); + config.follow_playhead = true; config.record_mode = MERGE; song.play_mode = PATTERN;