import curses
import npyscreen

from vent.menu import HelpForm
from vent.menu import VentApp
from vent.menu import VentForm

npyscreen.TEST_SETTINGS['TEST_INPUT'] = ['^X']
npyscreen.TEST_SETTINGS['CONTINUE_AFTER_TEST_INPUT'] = False

app = VentApp()
app.run(fork=False)

@@ -163,16 +163,28 @@
  = %5B'%5EX'
+, '%5ET', '%5EC'
 %5D%0Anpyscr
@@ -232,20 +232,19 @@
 PUT'%5D = 
-Fals
+Tru
 e%0A%0Aapp =
@@ -254,16 +254,26 @@
 ntApp()%0A
+%0Atry:%0A    
 app.run(
@@ -284,8 +284,40 @@
 =False)%0A
+except Exception as e:%0A    pass%0A

fix test