mirror of
https://github.com/daylinmorgan/tsm.git
synced 2024-11-16 09:18:32 -06:00
chore: upgrade to hwylterm
This commit is contained in:
parent
5991d93bcb
commit
44ef292e5b
4 changed files with 14 additions and 14 deletions
20
nimble.lock
20
nimble.lock
|
@ -1,16 +1,6 @@
|
|||
{
|
||||
"version": 2,
|
||||
"packages": {
|
||||
"bbansi": {
|
||||
"version": "0.1.1",
|
||||
"vcsRevision": "9a85d9ed028f06f1ed1ee6851480a51408a6004e",
|
||||
"url": "https://github.com/daylinmorgan/bbansi",
|
||||
"downloadMethod": "git",
|
||||
"dependencies": [],
|
||||
"checksums": {
|
||||
"sha1": "b338433f9a7a1b788b7583674c2b14096ced29ee"
|
||||
}
|
||||
},
|
||||
"cligen": {
|
||||
"version": "1.7.0",
|
||||
"vcsRevision": "4193f802796f15559c81c6dd56724d6f20345917",
|
||||
|
@ -21,6 +11,16 @@
|
|||
"sha1": "300bd7fdb6e48d2d98e34ed0661206b50331e99c"
|
||||
}
|
||||
},
|
||||
"hwylterm": {
|
||||
"version": "0.1.0",
|
||||
"vcsRevision": "9afc339a9791f25010ea89a4f52204ad8eeda858",
|
||||
"url": "https://github.com/daylinmorgan/hwylterm",
|
||||
"downloadMethod": "git",
|
||||
"dependencies": [],
|
||||
"checksums": {
|
||||
"sha1": "853c67ee7f789d825ec6f46c9fbae68e03e43cdb"
|
||||
}
|
||||
},
|
||||
"illwill": {
|
||||
"version": "0.4.1",
|
||||
"vcsRevision": "99a120f7f69868b94f5d35ce7e21dd12535de70c",
|
||||
|
|
|
@ -142,7 +142,6 @@ proc addProject(b: var Buffer, project: Project, selected: bool) =
|
|||
if project.matched:
|
||||
var displayName = fmt"[red]{input}[/]"
|
||||
if input.len < name.len:
|
||||
# bbansi missing add(string, bbstring) interface
|
||||
displayName &=
|
||||
fmt"[{project.highlight}]{name[input.len..^1]}[/{project.highlight}]"
|
||||
b.addLine(cur & $displayName.bb)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import std/strutils
|
||||
import bbansi
|
||||
export bbansi
|
||||
import hwylterm
|
||||
export hwylterm
|
||||
|
||||
const
|
||||
sep = " [magenta]|[/] "
|
||||
prefix = "[cyan]tsm[/]" & sep
|
||||
|
|
|
@ -13,6 +13,6 @@ binDir = "bin"
|
|||
requires "nim >= 2.0.0"
|
||||
requires "illwill >= 0.4.1"
|
||||
requires "cligen"
|
||||
requires "https://github.com/daylinmorgan/bbansi >= 0.1.1"
|
||||
requires "https://github.com/daylinmorgan/hwylterm"
|
||||
requires "https://github.com/usu-dev/usu-nim"
|
||||
|
||||
|
|
Loading…
Reference in a new issue