#!/usr/bin/env python3
# PYTHON_ARGCOMPLETE_OK

from pptop import start
import curses

try:
    start()
finally:
    # always end curses
    try:
        curses.endwin()
    except:
        pass
# force exit, even if some plugin freezed
os._exit(0)
