🟢 [L1] Tab 在窄终端(<4列)扩展超出宽度 #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
文件:
core/io/wrap.rs:23-31分类: 渲染边界
问题: Tab 固定扩展为 4 空格,当
width < 4时产生比请求宽度更宽的行。建议修复: 按 tab stop 计算剩余空格数,超宽时跨行分割。
已修复 — commit
5cb56da修改文件: crates/core/src/io/wrap.rs — wrap_line_chars()