#!/usr/bin/env python3
# PYTHON_ARGCOMPLETE_OK

import curses
import os

from pptop import start

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