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

Cursor location in the inferior mode #2

Open
Arbitrageur opened this issue Jan 20, 2014 · 2 comments
Open

Cursor location in the inferior mode #2

Arbitrageur opened this issue Jan 20, 2014 · 2 comments

Comments

@Arbitrageur
Copy link

Hi!

First of all, I'm really happy to find this package!

However, there's a problem.

I found that the cursor in the inferior mode is always at center.

I tried to fix it by changing 'coming-prompt-regex' but I failed..

@makp
Copy link

makp commented Mar 7, 2021

I've also experienced the same problem. One hack that worked for me was to install the Wolfram Kernel on Jupyter and setq wolfram-program to jupyter console using the wolfram kernel.

@EmmanuelCharpentier
Copy link

EmmanuelCharpentier commented Apr 20, 2023

I've been bitten by a similar problem (cursor going to the right margin) in April 2023 (a bit less than 10 years after the initial report !) with the Wolfram Engine 13.2. The workaround is to filter tre prompt. Place this :

(add-hook
 'inferior-wolfram-mode-hook
(lambda ()
   (add-hook
     'comint-preoutput-filter-functions
     (lambda (x)
       (concat (string-trim-right x) " "))
       t t)))

in the package's initialization code.

HTH,

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

3 participants