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

Inconsistent terminal behaviour on windows #191

Open
IceSentry opened this issue May 24, 2024 · 5 comments
Open

Inconsistent terminal behaviour on windows #191

IceSentry opened this issue May 24, 2024 · 5 comments
Labels
bug Something isn't working windows

Comments

@IceSentry
Copy link

So I'm having a few issues depending on which terminal I use to run bacon.

In vscode scrolling and copying works fine.

In windows terminal with powershell I can scroll but can't copy any text while bacon is running. I can copy text without issues when it's not running.

In alacritty, I can copy text, but can't scroll while bacon is running. Scrolling works when bacon is not running.

I'm not sure if the issue is with bacon not handling things correctly, or one of those terminal doing something wrong.

@Canop
Copy link
Owner

Canop commented May 25, 2024

You mean you can't copy text from bacon ? Or are copies outside of bacon also impacted ?

@IceSentry
Copy link
Author

When I tried copying the file path + line number using my mouse I was unable to highlight any of the text inside the bacon output. And since I can't select the text I can't copy it. I wanted to copy the path/line number to go to an error in my editor but was unable to because of that. I'd be happy if there was a built in way to just copy it without my mouse but I didn't se anything about that in the docs.

Here's a video showing what I mean;

bacon_copy0001-1255.mp4

You can't see my mouse but I was trying to highlight any part of the text like I did before starting bacon and nothing was highlighted. As you can see, it does work as expected in alacritty.

@Canop
Copy link
Owner

Canop commented May 25, 2024

Thanks, that's clear now.

As I don't have a Windows computer, I rely on other devs to help me for the Windows version.

@Canop Canop added bug Something isn't working windows labels May 25, 2024
@IceSentry
Copy link
Author

If you can point me towards the area of the code that you think could be causing this I would be happy to investigate further. I'm just not sure where to start.

@Canop
Copy link
Owner

Canop commented May 25, 2024

You might start with removing the mouse capture which was specifically added for Windows: ead2e05

Then look at crossterm related things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

No branches or pull requests

2 participants