Skip to content

fix: Windows resize syscall using incorrect pointer #1152

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

Merged
merged 1 commit into from
Apr 25, 2022
Merged

Conversation

kylecarbs
Copy link
Member

Resizing of PTYs weren't working on Windows before,
but they are now!

Resizing of PTYs weren't working on Windows before,
but they are now!
@kylecarbs kylecarbs requested a review from coadler April 25, 2022 19:05
@kylecarbs kylecarbs self-assigned this Apr 25, 2022
@codecov
Copy link

codecov bot commented Apr 25, 2022

Codecov Report

Merging #1152 (8047c9f) into main (8b54ea8) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1152      +/-   ##
==========================================
+ Coverage   66.28%   66.42%   +0.13%     
==========================================
  Files         261      263       +2     
  Lines       16237    16420     +183     
  Branches      156      156              
==========================================
+ Hits        10763    10907     +144     
- Misses       4361     4389      +28     
- Partials     1113     1124      +11     
Flag Coverage Δ
unittest-go-macos-latest 53.83% <ø> (+0.22%) ⬆️
unittest-go-postgres- 65.81% <ø> (+0.10%) ⬆️
unittest-go-ubuntu-latest 56.42% <ø> (+0.10%) ⬆️
unittest-go-windows-2022 53.51% <100.00%> (+0.23%) ⬆️
unittest-js 67.28% <ø> (ø)
Impacted Files Coverage Δ
pty/pty_windows.go 70.14% <100.00%> (+1.89%) ⬆️
pty/ptytest/ptytest.go 91.30% <0.00%> (-3.53%) ⬇️
peer/channel.go 83.23% <0.00%> (-1.74%) ⬇️
coderd/workspaceagents.go 58.92% <0.00%> (-0.71%) ⬇️
provisionerd/provisionerd.go 75.30% <0.00%> (-0.31%) ⬇️
codersdk/workspaceagents.go 51.86% <0.00%> (-0.28%) ⬇️
cli/gitssh.go 44.44% <0.00%> (ø)
coderd/audit/table.go 77.77% <0.00%> (ø)
coderd/audit/diff.go 86.56% <0.00%> (ø)
coderd/coderd.go 97.48% <0.00%> (+0.01%) ⬆️
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b54ea8...8047c9f. Read the comment docs.

@kylecarbs kylecarbs merged commit fccd4fa into main Apr 25, 2022
@kylecarbs kylecarbs deleted the winresize branch April 25, 2022 19:30
kylecarbs added a commit that referenced this pull request Jun 10, 2022
Resizing of PTYs weren't working on Windows before,
but they are now!
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