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

Incorrect postioning of prompt #56

Closed
balbirthomas opened this issue Dec 23, 2020 · 2 comments
Closed

Incorrect postioning of prompt #56

balbirthomas opened this issue Dec 23, 2020 · 2 comments

Comments

@balbirthomas
Copy link

After clean install of Sage 9.0 on Ubuntu 20.04 and cloning the latest sage-shell-mode git repository I find that running sage within Emacs 26.3 results in the prompt being positioned to the far right of the screen with preceding spaces. The first command line input and output also vanishes from the screen. Though for subsequent commands input and output are shown. However after each command the cursor is positioned to the far right of the screen., with preceding spaces. Attached is the simple .emacs file used and a screenshot. The screenshot shows the state of the screen after launching sage within emacs using M-x run-sage and then executing the command diff(x^3,x). Please do let me know what further information you may need.
dotemacs.txt
Screenshot

@balbirthomas balbirthomas changed the title Incorrect postioning of promt Incorrect postioning of prompt Dec 23, 2020
@EmmanuelCharpentier
Copy link
Collaborator

This is issue #53 for which a PR has been proposed on Aug 25, still unreviewed on Dec 25.... In the interim, feel free t use my fork.

@balbirthomas
Copy link
Author

Thank you for your response. Indeed the issue seems to be the same. In view of this fact I am closing this bug. However it seems like this is a solution going forward for newer versions of sage (>9.2) which accept --simple-prompt option.

I did try to use the latest git master branch of sage-shell-mode (this) repository with your patches merged in. I can confirm they do not fix the issue with the version of sage (Sage 9.0 using Python 3.8.5 and IPython 7.13.0) that ships packaged with Ubuntu 20.04.

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

2 participants