Closed simurgh9 closed 4 years ago
me too..and i'm curious about this now..
FYI
edit /usr/bin/sage, change following functions
# Start an interactive Sage session, this function never returns.
interactive_sage() {
sage_setup
exec sage-ipython "$@" --simple-prompt -i
}
I think its a bug relate to https://github.com/sagemath/sage-shell-mode/issues/48
Yeap! That did the trick. For other readers, run sudo emacs /usr/bin/sage
to edit the file. You'll need to change the line exec sage-ipython "$@" -i
to exec sage-ipython "$@" --simple-prompt -i
as shown in @reverland's reply.
I am not sure what is causing it but each time I press enter this happens,