]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/display.py
Add option to start in a specific view
[lightcards.git] / lightcards / display.py
index b167828246aab37634d184ab27db261399f485b3..47399828e7361253ba75ea00b28151b178d45e07 100644 (file)
@@ -182,11 +182,11 @@ class Menu:
 
 
 class Display:
-    def __init__(self, stack, headers, obj):
+    def __init__(self, stack, headers, obj, view):
         self.stack = stack
         self.headers = headers
         self.obj = obj
-        self.view = 1
+        self.view = view
 
     def run(self, stdscr):
         """Set important options that require stdscr before starting"""