mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-09-20 01:30:33 +00:00
Correct window resizing and remove extra newline
This commit is contained in:
parent
18f073a08a
commit
3efa81185a
1 changed files with 2 additions and 2 deletions
|
@ -446,7 +446,7 @@ class gibMacOS:
|
|||
self.get_catalog_data()
|
||||
|
||||
def main(self, dmg = False):
|
||||
lines = [""]
|
||||
lines = []
|
||||
lines.append("Available Products:")
|
||||
lines.append(" ")
|
||||
if not len(self.mac_prods):
|
||||
|
@ -473,7 +473,7 @@ class gibMacOS:
|
|||
lines.append("U. Show Catalog URL")
|
||||
lines.append("Q. Quit")
|
||||
lines.append(" ")
|
||||
self.resize(len(max(lines)), len(lines)+4)
|
||||
self.resize(len(max(lines)), len(lines)+5)
|
||||
self.u.head()
|
||||
print("\n".join(lines))
|
||||
menu = self.u.grab("Please select an option: ")
|
||||
|
|
Loading…
Reference in a new issue