mirror of
https://github.com/chshersh/github-tui.git
synced 2024-08-16 22:10:34 +03:00
Add superscript numbers to tabs
This commit is contained in:
parent
3e8b21dcec
commit
d02069c8d6
@ -25,7 +25,6 @@
|
|||||||
(minttea (>= "0.0.2"))
|
(minttea (>= "0.0.2"))
|
||||||
shape-the-term
|
shape-the-term
|
||||||
(terminal_size (>= "0.2.0"))
|
(terminal_size (>= "0.2.0"))
|
||||||
unix
|
|
||||||
)
|
)
|
||||||
(tags
|
(tags
|
||||||
(tui cli git github)))
|
(tui cli git github)))
|
||||||
|
@ -17,7 +17,6 @@ depends: [
|
|||||||
"minttea" {>= "0.0.2"}
|
"minttea" {>= "0.0.2"}
|
||||||
"shape-the-term"
|
"shape-the-term"
|
||||||
"terminal_size" {>= "0.2.0"}
|
"terminal_size" {>= "0.2.0"}
|
||||||
"unix"
|
|
||||||
"odoc" {with-doc}
|
"odoc" {with-doc}
|
||||||
]
|
]
|
||||||
build: [
|
build: [
|
||||||
|
@ -22,23 +22,23 @@ let tab_doc ~is_selected tab_lines =
|
|||||||
|
|
||||||
let code_tab ~is_selected =
|
let code_tab ~is_selected =
|
||||||
tab_doc ~is_selected
|
tab_doc ~is_selected
|
||||||
[ "╭──────╮";
|
[ "╭───────╮";
|
||||||
"│ Code │";
|
"│ Code¹ │";
|
||||||
"└──────┴";
|
"└───────┴";
|
||||||
] [@@ocamlformat "disable"]
|
] [@@ocamlformat "disable"]
|
||||||
|
|
||||||
let issues_tab ~is_selected =
|
let issues_tab ~is_selected =
|
||||||
tab_doc ~is_selected
|
tab_doc ~is_selected
|
||||||
[ "╭────────╮";
|
[ "╭─────────╮";
|
||||||
"│ Issues │";
|
"│ Issues² │";
|
||||||
"┴────────┴";
|
"┴─────────┴";
|
||||||
] [@@ocamlformat "disable"]
|
] [@@ocamlformat "disable"]
|
||||||
|
|
||||||
let pull_requests_tab ~is_selected =
|
let pull_requests_tab ~is_selected =
|
||||||
tab_doc ~is_selected
|
tab_doc ~is_selected
|
||||||
[ "╭───────────────╮";
|
[ "╭────────────────╮";
|
||||||
"│ Pull Requests │";
|
"│ Pull Requests³ │";
|
||||||
"┴───────────────┴";
|
"┴────────────────┴";
|
||||||
] [@@ocamlformat "disable"]
|
] [@@ocamlformat "disable"]
|
||||||
|
|
||||||
let scroll ~lines ~span ~offset =
|
let scroll ~lines ~span ~offset =
|
||||||
|
Loading…
Reference in New Issue
Block a user