Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any command on jupyter print [?2004l #320

Closed
yasirroni opened this issue May 9, 2024 · 2 comments
Closed

Any command on jupyter print [?2004l #320

yasirroni opened this issue May 9, 2024 · 2 comments

Comments

@yasirroni
Copy link
Contributor

I'm using GNU Octave, version 9.1.0 on M1 MacBook-Air. Running using Jupyter any run will print [?2004l on cell output. This did not appear in terminal. Minimal reproducible example:

from oct2py import Oct2Py
m = Oct2Py()
m.path()

`[?2004l`

As mentioned in #237 and pexpect/pexpect#669 (comment), workaround is to run this on terminal

echo "set enable-bracketed-paste off" > .inputrc
export INPUTRC=$PWD/.inputrc
@yasirroni yasirroni reopened this May 9, 2024
@yasirroni
Copy link
Contributor Author

In my case, sometimes it re-appears. I re-open this issue, will report back after I got more info.

@yasirroni
Copy link
Contributor Author

It seems that in my case, it disappears after updating, ~/.inputrc,

nano ~/.inputrc
$if Octave
set enable-bracketed-paste off
$else
set enable-bracketed-paste on
$endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant