linenoise icon indicating copy to clipboard operation
linenoise copied to clipboard

Linenoise does not work with IntelliJ debug console

Open mcfriend99 opened this issue 2 years ago • 2 comments

Hi,

When switching my application from libreadline to linenoise, I noticed that I can no longer debug my application from the IntelliJ console (terminal works alright). The line input just doesn't end, and newline just goes to the next line and I can just keep typing.

I would have opened this issue at IntelliJ, but all others I have tried (libedit, tecla, replxx majorly) works fine with IntelliJ debug console. What could be the problem?? Can this be fixes??

It would be nice to be able to debug my application from my IDE.

mcfriend99 avatar Apr 06 '22 06:04 mcfriend99

static int isUnsupportedTerm(void) You can look at this function

mfxiaosheng avatar May 06 '22 06:05 mfxiaosheng

I looked at it and it's evaluating to supported.

mcfriend99 avatar Aug 27 '22 17:08 mcfriend99

I resolved this by setting environment variable TERM to "dummy".

mcfriend99 avatar Mar 05 '23 09:03 mcfriend99