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

Clink partially reprints prompt with newline on resize #352

Closed
agorgl opened this issue Sep 26, 2015 · 3 comments
Closed

Clink partially reprints prompt with newline on resize #352

agorgl opened this issue Sep 26, 2015 · 3 comments

Comments

@agorgl
Copy link

agorgl commented Sep 26, 2015

When clink is injected in a Console emulator (like ConEmu or Console2) and prompt contains a newline (for example do 'prompt $P$_$G') and the Console is resized, clink partially reprints prompt.

See here for screenshots:
http://superuser.com/questions/978140/why-is-my-prompt-reprint-on-horizontal-conemu-resize

EDIT: Using clink 0.4.5

@mridgers
Copy link
Owner

Resizing is a little bit flakey altogether actually, both a combination how Windows' console behaves differently from VT100-like consoles that Readline's designed for, and because of a few bugs in Readline.

I occasionally put some time into getting resizing perfect, but hadn't consider the case of a multi-line prompt. Thanks for bringing that to my attention.

@agorgl
Copy link
Author

agorgl commented Oct 22, 2015

You should note that in previous version 0.4.4 resizing with multiline prompt worked flawlessly.

@mridgers
Copy link
Owner

Oh, I see. In that case, I broke something :)

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