Reset terminal attributes after printing single issues.
This commit is contained in:
parent
393be347c9
commit
98f4dda1ad
@ -1,6 +1,6 @@
|
|||||||
# Package
|
# Package
|
||||||
|
|
||||||
version = "4.11.0"
|
version = "4.11.1"
|
||||||
author = "Jonathan Bernard"
|
author = "Jonathan Bernard"
|
||||||
description = "Personal issue tracker."
|
description = "Personal issue tracker."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -70,6 +70,8 @@ proc formatIssue(ctx: CliContext, issue: Issue): string =
|
|||||||
if not issue.details.isEmptyOrWhitespace:
|
if not issue.details.isEmptyOrWhitespace:
|
||||||
result &= issue.details.strip.withColor(fgCyan) & "\n"
|
result &= issue.details.strip.withColor(fgCyan) & "\n"
|
||||||
|
|
||||||
|
result &= termReset
|
||||||
|
|
||||||
proc formatSectionIssue(ctx: CliContext, issue: Issue, width: int, indent = "",
|
proc formatSectionIssue(ctx: CliContext, issue: Issue, width: int, indent = "",
|
||||||
verbose = false): string =
|
verbose = false): string =
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
const PIT_VERSION* = "4.11.0"
|
const PIT_VERSION* = "4.11.1"
|
Loading…
x
Reference in New Issue
Block a user