Conversation
終了時(代替スクリーン解除)と quit/exit コマンドで出していた "USAGI run away ( ^-^)ノ" を、マスコットが手を振ってお別れする 3 行のアスキーアートを淡色の枠で囲んだボックスに刷新する。 - widgets::farewell_lines() を新設し、終了処理と quit コマンドの 両方から呼ぶことで見た目を一本化する。枠幅は一番広い行に合わせて 実測し、全行を同幅にパディングして右端を揃える。 - 配色は枠を淡色(dim)・うさぎとメッセージをシアンにし、TUI の アクセントパレットに馴染ませる。 - ドキュメント(design/01-welcome.md, design/README.md)を更新する。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
📊 Test Coverage
🎉✨ パーフェクト!全ファイル Lines カバレッジ 100% を達成しました 🏆🐰 |
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.
目的
終了時に表示する素っ気ない一行メッセージ
USAGI run away ( ^-^)ノを、もっと可愛く・おしゃれな見た目にする。変更内容
終了時(代替スクリーン解除)と
quit/exitコマンドの別れメッセージを、マスコットが手を振ってお別れする 3 行のアスキーアートを枠で囲んだボックスに刷新。widgets::farewell_lines()を新設し、終了処理(AlternateScreenGuard::drop)とquit/exitコマンドの両方から呼ぶことで見た目を一本化。枠幅は一番広い行を
console::measure_text_widthで実測し、全行を同幅にパディングして右端を揃える(半角・全角混在でもズレない)。配色は 枠を淡色(dim)・うさぎとメッセージをシアン にし、TUI のアクセントパレットに馴染ませた(当初のマゼンタは主張が強かったため変更)。色は
consoleの TTY 判定に従い、ログ経路(LineKind::Output)でもclip_to_widthが ANSI を保持するため反映される。ドキュメント(
document/design/01-welcome.md/document/design/README.md)を新しいボックスと配色に合わせて更新。テスト・確認方法
cargo fmt --check/cargo clippy --all-targets -- -D warnings/cargo testすべてパス(カバレッジ 100% 維持)。farewell_lines()の単体テストを追加(角丸・各行の枠・全行同幅を検証)。CLICOLOR_FORCE=1で実際に dim 枠+シアンの ANSI が出力され、右端が揃うことを目視確認。🤖 Generated with Claude Code