Heath Stewart
7738b6187c
Add headers to all tables ( #8157 )
2023-10-20 11:20:02 +02:00
Mislav Marohnić
3fe5026d39
Migrate to tableprinter from go-gh ( #6346 )
2022-10-17 15:15:39 +02:00
Sam Coe
e7102f9d84
Migrate to go-gh text package ( #6236 )
2022-09-14 09:23:55 +04:00
Sam Coe
2fc0ffd0be
Fix auth refresh prompter initialization ( #6141 )
...
* Fix prompter not being initialized in auth refresh
* fix broken issue list test
2022-08-25 12:07:40 +03:00
Sam Coe
8a0c1f903c
Change issue close color from red to purple ( #5436 )
2022-04-11 11:50:55 +02:00
Mislav Marohnić
11fbb60ae7
Rename the module to "github.com/cli/cli/v2"
2021-08-25 12:41:30 +02:00
Heath Stewart
88af63d36f
Re-enable label colors for issue list ( #4106 )
...
* Re-enable label colors for issue list
* Drop parentheses wrapping issue labels
* Support ANSI escape codes in TablePrinter cells
* Switch to a Truncate implementation that correctly measures ANSI escape codes
* Only output RGB color if terminal has truecolor capabilities
* Enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` on Windows - fixes wrapping issues with full lines and allows truecolor rendering
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-08-23 19:55:12 +02:00
Mislav Marohnić
930ee60ac5
Disable colorizing labels in issue list output
...
- Labels with dark color are not visible on a dark background
- "Raw" `issue view` output should never output color, not even with
CLICOLOR_FORCE=1
2021-08-03 16:02:16 +02:00
bchadwic
47314a6bbc
modified HexToRGB to check whether terminal and gh have color enabled, as well as created tests for HexToRGB
2021-07-03 17:09:25 -07:00
bchadwic
af2499cb69
renamed func RGB to HexToRGB
2021-06-29 22:35:23 -07:00
bchadwic
4c412bc88c
Added in label rgb functionality for both prs and issues
2021-06-29 22:26:41 -07:00
Mislav Marohnić
feec114bb6
Fix truncateLabels for empty values
2020-11-11 15:29:40 +01:00
Mislav Marohnić
8d054486a3
Merge remote-tracking branch 'origin' into jan25/issue-2042
2020-11-11 15:23:46 +01:00
Mislav Marohnić
62e4c536ce
Ensure parentheses are preserved after truncating labels in table view
2020-11-11 15:22:34 +01:00
vilmibm
a2aa154794
port entirely to ColorScheme
2020-10-29 12:37:45 -07:00
Abhilash Gnan
9e03d01bdf
Fetch all issue labels
...
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
2020-10-28 19:45:21 +01:00
Mislav Marohnić
c00fe73d5a
Isolate issue commands
2020-08-07 00:27:55 +02:00