Skip to content

Improvement: Make gosh work#2554

Merged
probot-auto-merge[bot] merged 3 commits into
mainfrom
gosh_complete
Nov 11, 2022
Merged

Improvement: Make gosh work#2554
probot-auto-merge[bot] merged 3 commits into
mainfrom
gosh_complete

Conversation

@ChriMarMe

Copy link
Copy Markdown
Contributor

Gosh crashes when using qemu with -nographic and ttyS0 as output.

Problem is that the used library 'github.com/c-bata/go-prompt' does a ioctlGetWinsize call which returns 0,0 size.
Maintainer of go-prompt does not respond to PRs to fix the issue so the dependency was forked, adapted, got the fix.

This integrates the changes required to fix the issue with tab completion under mentioned circumstance.

Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
…te dependency in u-root

Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
@ChriMarMe ChriMarMe changed the title Improvment: Make gosh work Improvement: Make gosh work Nov 10, 2022
@codecov

codecov Bot commented Nov 10, 2022

Copy link
Copy Markdown

Codecov Report

Base: 73.67% // Head: 73.84% // Increases project coverage by +0.16% 🎉

Coverage data is based on head (085dc08) compared to base (6e96997).
Patch has no changes to coverable lines.

❗ Current head 085dc08 differs from pull request most recent head b204907. Consider uploading reports for the commit b204907 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2554      +/-   ##
==========================================
+ Coverage   73.67%   73.84%   +0.16%     
==========================================
  Files         405      405              
  Lines       41282    41282              
==========================================
+ Hits        30416    30485      +69     
+ Misses      10866    10797      -69     
Impacted Files Coverage Δ
cmds/exp/gosh/completer.go 100.00% <ø> (ø)
cmds/exp/gosh/gosh.go 63.15% <ø> (ø)
pkg/acpi/rsdp.go 51.28% <0.00%> (+10.25%) ⬆️
pkg/acpi/raw.go 89.28% <0.00%> (+14.28%) ⬆️
pkg/acpi/bios.go 83.78% <0.00%> (+83.78%) ⬆️
pkg/acpi/sdt.go 86.66% <0.00%> (+86.66%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@rminnich rminnich added automerge Applying this label auto-merges the PR when ready Awaiting author Waiting for new changes or feedback for author. labels Nov 11, 2022
@probot-auto-merge probot-auto-merge Bot merged commit b38ed0a into main Nov 11, 2022
This was referenced Jan 5, 2023
@ChriMarMe ChriMarMe deleted the gosh_complete branch April 5, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Applying this label auto-merges the PR when ready Awaiting author Waiting for new changes or feedback for author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants