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

lack of BCE support? #359

Closed
lkurylo opened this issue Oct 8, 2015 · 15 comments
Closed

lack of BCE support? #359

lkurylo opened this issue Oct 8, 2015 · 15 comments
Labels

Comments

@lkurylo
Copy link

@lkurylo lkurylo commented Oct 8, 2015

I have a problem when scrolling the text. It looks that:
zenburn
I have written in two places about it:
jnurmine/Zenburn#16
http://superuser.com/questions/983653/vim-in-conemu-strange-issue-during-scrolling

In both answers authors suggest that, the BCE (background color erase) is not supported by the ConEmu. Could it be the issue?

This is a standalone Vim 7.4 version on Windows 10 x64. ConEmu version is 151006.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 9, 2015

What do you mean by BCE? What ANSI sequence reflect it? Link or example, please.

Supported sequences in the current version are here and some vim-related are here.

I can reproduce your problem with latest Vim built from sources and slightly updated (without plugins) vimrc.
And when I look into ANSI output, I get following sequences (ESC is replaced with <), also they are wrapped by 80 chars.

<|7m<[38;5;188m<[48;5;237m<[35;100H~@k<[34;8H
<[35;100H   <[34;8H<[1;34r<[34;1H\r\n<[1;35r<[33;1H        HMODULE hConEmu;       
                                                <[33;81H<[K<[34;1H<[48;5;238m   
     <|7m<[38;5;188m<[48;5;237m<|15m<[38;5;187m<[48;5;238mchar<|7m<[38;5;188m<[4
8;5;237m<[48;5;238m szErrInfo[<|7m<[38;5;188m<[48;5;237m<[38;5;116m<[48;5;238m51
2<|7m<[38;5;188m<[48;5;237m<[48;5;238m];                                        
           <|7m<[38;5;188m<[48;5;237m<[48;5;1m <|7m<[38;5;188m<[48;5;237m<[48;5;
238m                              <|7m<[38;5;188m<[48;5;237m<[35;1H<[K<[34;8H

Have not done thorough check yet, but at first sight Vim is not posting something critical. But I can't be sure at the moment.

@lkurylo
Copy link
Author

@lkurylo lkurylo commented Oct 9, 2015

All I can give you are unfortunatelly only the links provider in the answer at SuperUser:
http://invisible-island.net/ncurses/ncurses.faq.html#bce_mismatches
http://invisible-island.net/xterm/xterm.faq.html#xterm_terminfo

With the option set lazyredraw situation is a little better. I can scroll down without problem, but not up.
bce

@xylographe
Copy link
Contributor

@xylographe xylographe commented Oct 9, 2015

If bce is the problem, :set t_ut= is supposed to solve it.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 9, 2015

Seems like the problem with bce is in its absence

@xylographe
Copy link
Contributor

@xylographe xylographe commented Oct 9, 2015

Iff bce is the problem, it's not a ConEmu issue. The terminal description is at fault (or, perhaps, the wrong terminal description is used).

@lkurylo
Copy link
Author

@lkurylo lkurylo commented Oct 19, 2015

May I ask is any progress with this issue?

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 19, 2015

I can reproduce the problem.

@lkurylo
Copy link
Author

@lkurylo lkurylo commented Oct 19, 2015

Yes, I saw it in the post ten days ago. I was rather asking about any solution ;)
I hope this won't be any problematic and time consuming fix.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 19, 2015

There are a lot of other things to do. Your issue requires time.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 19, 2015

In other words, I'm still not sure if it's vim or ConEmu bug. More debugging is required.

@lkurylo
Copy link
Author

@lkurylo lkurylo commented Oct 19, 2015

I see. Ok, I will wait patiently.
Thank you for information.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Oct 25, 2015

Build 151025

@lkurylo
Copy link
Author

@lkurylo lkurylo commented Oct 26, 2015

It's fixed.
Thank you.

@lkurylo lkurylo closed this Oct 26, 2015
@PhysRex
Copy link

@PhysRex PhysRex commented Apr 19, 2018

I'm having this same issue as the OP. This occurred when I was trying to remove all the vim-bootstrap plugins, using the :PlugClean[!] command. I haven't been able to see any impact or change this behavior, even when I reinstall bootstrap or any other plugins. In fact, after reinstalling bootstrap, it's not reflected in vim anymore.

I have also tried removing and reinstalling vim and the problem persists,

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Apr 19, 2018

I'm not an oracle

What versions do you use at least?

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

Successfully merging a pull request may close this issue.

None yet
4 participants