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

fix: Issue 47 impacting WSL2 users. #1

Merged
merged 1 commit into from
Feb 28, 2024
Merged

fix: Issue 47 impacting WSL2 users. #1

merged 1 commit into from
Feb 28, 2024

Conversation

Traap
Copy link

@Traap Traap commented Dec 17, 2023

Issue 47 - ekickx#47

cmd_chedk and cmd_past modified.
cmd_check = 'powershell.exe "(Get-Clipboard -Format Image)"' cmd_paste = 'powershell.exe "(Get-Clipboard -Format Image).save(' .. "'%s'" .. ')"'

NOTE: WSL2 displays 'tcgetpgrp failed: Not a tty'.

vim.cmd("mode") added to M.insert_text function to redraw screen removes the text. The error text is not written to current buffer.

Issue 47 - ekickx#47

cmd_chedk and cmd_past modified.
cmd_check = 'powershell.exe "(Get-Clipboard -Format Image)"'
cmd_paste = 'powershell.exe "(Get-Clipboard -Format Image).save(' .. "'%s'" .. ')"'

NOTE: WSL2 displays 'tcgetpgrp failed: Not a tty'.

vim.cmd("mode") added to M.insert_text function to redraw screen removes
the text. The error text is not written to current buffer.
@dfendr
Copy link
Owner

dfendr commented Feb 28, 2024

Cheers, thank you.

@dfendr dfendr merged commit 216cde9 into dfendr:main Feb 28, 2024
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