@@ -60,4 +60,4 @@ while running:
else:
print('Action', action, 'not implemented yet.')
-print('End')
+display.end()
@@ -16,4 +16,4 @@ for r in rows:
print(r)
print('Application not implemented yet')
@@ -33,4 +33,4 @@ while running:
@@ -14,6 +14,11 @@ class BasicDisplay():
def error(self, *message):
print('ERROR :', *message)
+ def end(self):
+ """Display endline before closing app"""
+ bar = '-' * 5
+ print('+', bar, 'end', bar, '+')
+
def product(self, p):
print(p.id ,':', p.name)