diff options
| author | Lucas Trzesniewski <lucas.trzesniewski@gmail.com> | 2026-02-02 21:25:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-02 12:25:42 -0800 |
| commit | 24521a659158395638946e033f53a444a59cb79f (patch) | |
| tree | 5ae031da1ad079c142efaa26e0b0aa5d325bd527 /crates/atuin-server-database/src/lib.rs | |
| parent | fix(powershell): preserve `$LASTEXITCODE` (#3120) (diff) | |
| download | atuin-24521a659158395638946e033f53a444a59cb79f.zip | |
fix: larger exit column width on Windows (#3119)
The default width of the `exit` column is 3, which matches the 0-255
values on Linux. However, on Windows it is a 32-bit integer, and can be
anything from -2147483648 to 2147483647. Popular tools such as `winget`
apparently make use of that.
Here's an example with `columns = ["exit", "time", "duration",
"directory", "command"]`:
<img width="647" height="416" alt="image"
src="https://github.com/user-attachments/assets/d73b0487-3c77-4049-8487-01b2aab29a44"
/>
This PR changes the default column width to 11 on Windows to match these
values. The result is:
<img width="601" height="412" alt="image"
src="https://github.com/user-attachments/assets/b4b95f40-f223-400d-83c4-74d71e070b3e"
/>
## Checks
- [x] I am happy for maintainers to push small adjustments to this PR,
to speed up the review cycle
- [x] I have checked that there are no existing pull requests for the
same thing
Diffstat (limited to 'crates/atuin-server-database/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
