Skip to content

Commit

Permalink
fixed some text
Browse files Browse the repository at this point in the history
  • Loading branch information
hitblast committed Jun 29, 2023
1 parent 6d94178 commit 4011a0d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/nimip.nim
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ proc run*(): Future[void] {.async.} =

# The top panel for the terminal.
tb.setForegroundColor(fgWhite, true)
tb.write(2, 1, "[ Press ", fgYellow, "esc", fgWhite, "/", fgYellow, "q",
fgWhite, " to quit. ]")
tb.write(2, 1, "[ Press ", fgYellow, "esc", fgWhite, "/", fgYellow, "q", fgWhite, " to quit. ]")
tb.drawRect(0, 0, primaryLength, 7)
tb.drawHorizLine(2, primaryLength - 2, 2, doubleStyle = true)

Expand All @@ -88,7 +87,7 @@ proc run*(): Future[void] {.async.} =

tb.drawHorizLine(1, primaryLength - 2, 17)
tb.write(primaryLength, 13, fgGreen, fmt"{ip.remainingRequests}", fgWhite, " remaining requests")
tb.write(primaryLength, 17, fgGreen, fmt"{ip.timeUntilReset}s", fgWhite, " until cache reset")
tb.write(primaryLength, 17, fgGreen, fmt"{ip.timeUntilReset}s", fgWhite, " until limit reset")


# Finally, display the entire thing.
Expand Down

0 comments on commit 4011a0d

Please sign in to comment.