An "issue view details" action not working
Describe the bug Action "v to view selected issue details" doesn't work, just blink, but after quit from cli all information is present in a terminal.
Please provide following details
- JiraCLI Version:
(Version="1.5.2", GitCommit="Homebrew", CommitDate="2024-09-20T08:29:56+00:00", GoVersion="go1.24.0", Compiler="gc", Platform="darwin/arm64") - Are you using Jira cloud or on-premise jira server?
Cloud - What operating system are you using? Also mention version.
MacOS Sequoia 15.3.2 - What terminal are you using? Also mention version.
iTerm 2 Build 3.5.11
To Reproduce
Steps to reproduce the behavior:
- jira issue list
Expected behavior Shows issue details inside TUI
Screenshots
slightly damaged interface is a defect in the “recording” of the terminal
Additional context I'm a new jira-cli user, maybe this is not a bug but a feature, I don't know :D
same for me on windows (Version="1.5.2", GitCommit="34221786aaa12d5bc66039d164b6d9587b0799c7", CommitDate="2024-09-20T08: 29:56+00:00", GoVersion="go1. 23.1", Compiler="gc", Platform="windows/amd64")
I'm also having this issue. After some testing I can see that during the blink it shows the issue details for a fraction of a second and then closes it again, and goes back to the list.
(Version="1.6.0", GitCommit="6a6611ce59f1a85203b021af9113b2a4e82ecaef", CommitDate="2025-04-19T09:33:11+00:00", GoVersion="go1.24.1", Compiler="gc", Platform="windows/amd64")
After closing the list TUI, I can see that the issue details were printed to the terminal in the background. maybe there is no "viewer" for windows?
yep, looks like there is no pager configured for windows
https://github.com/ankitpokhrel/jira-cli/blob/main/pkg/tui/helper.go#L87
@ikkentim
❯ echo $PAGER
less
I have a pager set up, but the problem is still relevant - the * v to view selected issue details function outputs everything to the console and not to TUI