Skip to content

Commit

Permalink
Create App menu
Browse files Browse the repository at this point in the history
  • Loading branch information
BhJaipal committed Oct 5, 2024
1 parent b1dc0a6 commit e4af15c
Showing 1 changed file with 21 additions and 48 deletions.
69 changes: 21 additions & 48 deletions scripts/src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,64 +284,37 @@ def createApp():
)
print(
term.royalblue_on_lightblue(
" " * (((term.width - (len("NamePath") + 5)) // 2) - 1)
),
end="",
)
print(
term.royalblue_on_lightblue("┌"),
end="",
)
print(
term.bold_royalblue_on_lightblue(
"─" * (len("Name") + 2) + "ᚁ" + "─" * (len("Path") + 2)
),
end="",
)
print(
term.royalblue_on_lightblue("┐"),
end="",
)
print(
term.royalblue_on_lightblue(
" " * (((term.width - (len("NamePath") + 5)) // 2) - 1)
" " * (((term.width - (len("NamePath") + 5)) // 2) - 2)
)
)
print(
term.royalblue_on_lightblue(
+ term.royalblue_on_lightblue("🬕")
+ term.bold_royalblue_on_lightblue(
"🬂" * ((len("Name") // 2) + 1) + "🬨 🬕" + "🬂" * ((len("Path") // 2) + 1)
)
+ term.royalblue_on_lightblue("🬨")
+ term.royalblue_on_lightblue(
" " * (((term.width - (len("NamePath") + 5)) // 2) - 1)
),
end="",
)
)
print(term.bold_royalblue_on_lightblue("│ Name │ Path │"), end="")
print(
term.royalblue_on_lightblue(
" " * (((term.width - (len("NamePath") + 5)) // 2) - 2)
)
+ term.bold_royalblue_on_lightblue("▌ Name ▐ ▌ Path ▐")
+ term.royalblue_on_lightblue(
" " * (((term.width - (len("NamePath") + 5)) // 2) - 1)
),
)
print(
term.royalblue_on_lightblue(
" " * (((term.width - (len("NamePath") + 4)) // 2) - 1)
),
end="",
)
print(
term.royalblue_on_lightblue("└"),
end="",
)
print(
term.bold_royalblue_on_lightblue(
"─" * (len("Name") + 2) + "ᚆ" + "─" * (len("Path") + 2)
),
end="",
)
print(
term.royalblue_on_lightblue("┘"),
end="",
)
print(
term.royalblue_on_lightblue(
" " * (((term.width - (len("NamePath") + 5)) // 2) - 1)
" " * (((term.width - (len("NamePath") + 4)) // 2) - 2)
)
+ term.royalblue_on_lightblue("🬲")
+ term.bold_royalblue_on_lightblue(
"🬭" * ((len("Name") // 2) + 1) + "🬷 🬲" + "🬭" * ((len("Path") // 2) + 1)
)
+ term.royalblue_on_lightblue("🬷")
+ term.royalblue_on_lightblue(
" " * (((term.width - (len("NamePath") + 5)) // 2) - 2)
)
)
print(term.royalblue_on_lightblue(lineSpace(1 / 2)))
Expand Down

0 comments on commit e4af15c

Please sign in to comment.