input: Support configurable wrapping indent (#2629)
## Description - Support `WrappingIndent` - Some: Wrapped lines get the same indentation as the parent - None: No indentation. Wrapped lines begin at column 1 - Fix the current long text rendering with `soft_wrap` enabled - Add left offset on continuation wrapped lines - Fix selection corner segments ## Screenshot **Before** <img width="548" height="819" alt="Before" src="https://github.com/user-attachments/assets/a52cdd86-39e9-4f21-a4ce-e40f88596b1b" /> **After** | Same | None | | ---------------------------- | --------------------------- | | <img width="592" height="863" alt="Screenshot 2026-08-04 at 10 52 15 PM" src="https://github.com/user-attachments/assets/1e826050-d597-4cd9-a092-fd351aad3027" /> | <img width="592" height="863" alt="After" src="https://github.com/user-attachments/assets/897eb26c-fbd8-4655-b8a4-e2e2721abd8a" /> | ## Break Changes Set the default wrapping indent to `Same`. ## How to Test Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. ## Checklist - [ ] I have read the [CONTRIBUTING](../CONTRIBUTING.md) document and followed the guidelines. - [ ] Reviewed the changes in this PR and confirmed AI generated code (If any) is accurate. - [ ] Passed `cargo run` for story tests related to the changes. - [ ] Tested macOS, Windows and Linux platforms performance (if the change is platform-specific)
A
Alex Shi committed
3067deae83a237a4485e79bd449acd84ca890c23
Parent: c9be6bf
Committed by GitHub <noreply@github.com>
on 8/6/2026, 8:32:13 AM