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

Exponential sign deletes last calculation #149

Closed
ssummer1337 opened this issue Apr 11, 2018 · 4 comments
Closed

Exponential sign deletes last calculation #149

ssummer1337 opened this issue Apr 11, 2018 · 4 comments

Comments

@ssummer1337
Copy link

I don't know if this is intended or not, but I currently have the following problem:

If you write a simple calculation like '1+1' and hit enter it shows the result of '2'.
When now using the 'arrow-up'-key to get the last calculation, the '1+1' shows up again, but I can't use the exponential sign '^' now as it removes the last calculation.

It seems like a buffer problem because it somehow also restores deleted characters as soon as using the exponential sign.

Best regards,

@sharkdp
Copy link
Owner

sharkdp commented Apr 13, 2018

Thank you for your feedback.

I can't reproduce this. Do you use the web version? If so, which browser and operating system do you use?

Also, could you check if the same thing happens in this jquery.terminal demo?

@ssummer1337
Copy link
Author

I have tried with Windows 7 (Firefox and Chromium), Windows 10 (Firefox and Chrome[JavaScript V8 6.5.254.41]).

I also tried Edge and it seem to work there.

Regarding your jquery demo. The calculation only gets shifted by one space, but seems "fine".

@sharkdp
Copy link
Owner

sharkdp commented Apr 13, 2018

Thanks.

This is probably due to the external dependency jquery.terminal.

Note for whoever might be working on this: It could be that this is fixed by upgrading to the latest version of jquery.terminal. However, it is not straightforward since we have a custom terminal.css file that seems to be out of date.

@sharkdp
Copy link
Owner

sharkdp commented Jan 25, 2020

Should be fixed in the latest online version.

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

No branches or pull requests

2 participants