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

Clear the prompt before sending stuff. #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tpapp
Copy link
Owner

@tpapp tpapp commented Sep 2, 2018

No description provided.

@tpapp
Copy link
Owner Author

tpapp commented Sep 3, 2018

This is not ready for production; sending when the terminal is busy causes artifacts:

julia> @btime f3(2.5)
^A^K^H@btime v1(x = 2.5)
  1.775 ns (0 allocations: 0 bytes)
12.182493960703473

julia> 

julia> @btime v1(x = 2.5)
^A^K^H@btime v2(x = 2.5)
  13.963 ns (0 allocations: 0 bytes)
12.182493960703473

julia> @btime v2(x = 2.5)
  13.906 ns (0 allocations: 0 bytes)
12.182493960703473

@gdkrmr
Copy link

gdkrmr commented Jan 4, 2019

I guess the issue is term and there is nothing you can really do about it. You can send "\^A\^K\^H\^M" which looks nicer.

What is the difference between "\b"and "\^H"?

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

Successfully merging this pull request may close these issues.

2 participants