jira-cli icon indicating copy to clipboard operation
jira-cli copied to clipboard

TERM=tmux-direct breaks some output

Open isomarcte opened this issue 7 months ago • 1 comments

Describe the bug

jira issue list
Error: exit status 1

However if I take URI from the --debug output and paste it into the browser it works fine. Other jira cli commands seem to work fine.

Please provide following details

  1. JiraCLI Version:
    (Version="1.6.0", GitCommit="refs/tags/v1.6.0", CommitDate="1970-01-01T00:00:00+00:00", GoVersion="go1.24.3", Compiler="gc", Platform="darwin/arm64")
    
  2. Are you using Jira cloud or on-premise jira server? cloud
  3. What operating system are you using? Also mention version.

ProductName: macOS ProductVersion: 15.5 BuildVersion: 24F74 4. What terminal are you using? Also mention version. alacritty 0.15.1 ```

isomarcte avatar May 21 '25 20:05 isomarcte

This appears to be caused by the TERM variable I was using. I am using tmux-direct for truecolor support inside a tmux session, but this breaks some (but oddly not all) parts of the jira output. Using xterm-direct for example, resolves the issue.

Not sure if this is a bug/missing terminfo setting in this project or in a library.

isomarcte avatar May 22 '25 15:05 isomarcte