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

Windows 10 build has malfunctioning view #68

Closed
Cthutu opened this issue Jun 2, 2021 · 11 comments · Fixed by #224
Closed

Windows 10 build has malfunctioning view #68

Cthutu opened this issue Jun 2, 2021 · 11 comments · Fixed by #224
Labels
O-windows Operating system: Windows

Comments

@Cthutu
Copy link

Cthutu commented Jun 2, 2021

It seems that the first line is not rendered, and the status bar is rendered at the wrong place too.

image

@IceDragon200 IceDragon200 added the O-windows Operating system: Windows label Jun 2, 2021
@IceDragon200
Copy link
Contributor

Could you specify the terminal emulator being used, did you try a different terminal under windows to see if the problem persists?

@Kethku
Copy link
Contributor

Kethku commented Jun 2, 2021

using pwsh or cmd on windows 10 doesn't reproduce this error for me.

@wangbyby
Copy link

wangbyby commented Jun 3, 2021

I can not open it.
Error like this:

PS C:\Users\123\Downloads\helix-v0.0.6-x86_64-windows> .\hx.exe
thread 'main' panicked at 'index out of bounds: the len is 3451 but the index is 3451', helix-tui\src\buffer.rs:185:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@archseer
Copy link
Member

archseer commented Jun 3, 2021

@wangbyby Download a newer release (0.0.9)

@Cthutu
Copy link
Author

Cthutu commented Jun 3, 2021

Could you specify the terminal emulator being used, did you try a different terminal under windows to see if the problem persists?

Yes, I use cmder. But that should be compatible with CMD.

I will try CMD when I get to my PC

@Cthutu
Copy link
Author

Cthutu commented Jun 3, 2021

OK, it seems to work on CMD, although ':' doesn't work so there's no way to quit Helix that I can find (it's even harder than Vim to do that lol). On ConEmu (which is used by cmder) it doesn't display properly. I wonder what the difference is. Vim works find on both types of console.

@janhrastnik
Copy link
Contributor

#79 should fix ':' not working. I'll take a look at the display issue in cmder.

@Cthutu
Copy link
Author

Cthutu commented Jun 4, 2021

I tried running it on the Windows build of Alacritty and the display did not work for that. Not sure about Alacritty on other OSes.

@janhrastnik
Copy link
Contributor

ConEmu and alacritty (win 10) work fine for me. In cmder I get the same issue as above. Resetting the settings to the default ConEmu settings doesn't fix it. I'm guessing its got something to do with how clink is implemented in cmder.

@Cthutu
Copy link
Author

Cthutu commented Jun 4, 2021

Interesting that it works for you - I wonder why. This is the screenshot from opening up a file in Helix within Alacritty:
image

I built Alacritty from the latest source. Did you resize the window at all after starting Alacritty?

@janhrastnik
Copy link
Contributor

I do notice some black bars on every other line appear during resizing but they disappear once you stop resizing the window.
image
I'm using the 0.8.0 portable version. It seems it's not loading newlines on my end because of CR-LF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-windows Operating system: Windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants