ankitpokhrel / jira-cli

🔥 Feature-rich interactive Jira command line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some commands show ANSI escape sequences

pstumpf opened this issue · comments

When executing certain commands, at least jira init, jira issue create and jira epic create, raw escape sequences are visible.

E.g.

 $ jira init
? Installation type:  [Use arrows to move, type to filter, ? for more help]
> Cloud
  Local

Arrow up/down is printed as ^[[A and ^[[B, then [[24;80R is printed after pressing return.

It seems like something is putting the terminal into raw mode.

This happens with both @latest and

 $ jira version
(Version="v1.5.1", GitCommit="", CommitDate="", GoVersion="go1.22.1", Compiler="gc", Platform="openbsd/amd64")

on OpenBSD (-current), both in an xterm and in tmux.

Otherwise, the commands work as expected.