-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathtypes.lua
More file actions
39 lines (34 loc) · 817 Bytes
/
Copy pathtypes.lua
File metadata and controls
39 lines (34 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--------------------------------------------
--- Alias
--------------------------------------------
---@alias lc.ui.position
---| "left"
---| "center"
---| "right"
--------------------------------------------
--- Layout
--------------------------------------------
---@class lc.ui.padding
---@field top? integer
---@field right? integer
---@field bot? integer
---@field left? integer
--------------------------------
---@class lc-menu.cursor.pos
---@field row integer
---@field col integer
---@class lc-menu.cursor
---@field idx integer
---@field prev integer[]|nil
---@alias lc-menu.page
---| "menu"
---| "problems"
---| "stats"
---| "cookie"
---| "cache"
---| "signin"
---| "loading"
---| "favorite"
--------------------------------------------
--- Leet Component
--------------------------------------------