fix: use half-block unicode renderer to shrink pairing qr code#71
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
goat remote pair의 QR 코드가render::<char>()에module_dimensions(2, 1)을 써서 필요 이상으로 크게 출력됐습니다.Dense1x2half-block 렌더러(▄/▀/█/)로 교체해 QR 2행을 터미널 1줄에 패킹하여 높이와 너비를 모두 절반으로 줄입니다.Verification
cargo fmt --all --check— passedDense1x2타입 참조 교체 3줄이며 추가 의존성 없음