ankitpokhrel / ankitpokhrel/jira-cli

`jira issue list --plain` does not respect `TERM=dumb`

オープン
#291 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement hacktoberfest
主要言語
Go
スター
6k
フォーク
413
平均マージ
2日 3時間
マージ済み PR(30日)
1

説明

**Describe the bug**
`TERM=dumb jira issue list --plain` prints lines that exceed the 80-character width limit.

**Please provide following details**
1. JiraCLI Version:
```
(Version="v0.3.1-0.20220124201418-5429cbd9d363", GitCommit="", CommitDate="", GoVersion="go1.17.6", Compiler="gc", Platform="linux/amd64")
```
2. Are you using Jira cloud or on-premise jira server? Also mention the version for on-premise installation.
```
cloud
```
3. What operating system are you using? Also mention version.
```
Ubuntu 20.04
```
4. What terminal are you using? Also mention version.
```
# GNOME Terminal 3.36.2 using VTE 0.60.3 +BIDI +GNUTLS +ICU +SYSTEMD
```

**To Reproduce**

Steps to reproduce the behavior:
```
$ infocmp dumb
# Reconstructed via infocmp from file: /lib/terminfo/d/dumb
dumb|80-column dumb tty,
am,
cols#80,
bel=^G, cr=\r, cud1=\n, ind=\n,

$ TERM=dumb jira issue list --plain 2>/dev/null | wc -L
251
```

**Expected behavior**
```
$ TERM=dumb jira issue list --plain 2>/dev/null | wc -L
80
```

**Screenshots**
not applicable

**Additional context**
not applicable

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。