Commit d335346
committed
Revert overflow detection — keep only viewport pinning
The pos-visible-in-window-p based overflow detection caused multiple
issues: it broke mouse scrolling by resetting the viewport position
during terminal resize, and interacted badly with Emacs display state
(horizontal scroll, font size changes).
Remove all overflow detection code (ghostel--check-overflow,
ghostel--height-adjustment). Keep the simple set-window-start pin
which fixes the main issue (viewport drift with TUI apps like Claude
Code).
The emoji line-height issue remains open for a future fix using a
different approach.1 parent 794b5c8 commit d335346
1 file changed
Lines changed: 3 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
551 | | - | |
552 | | - | |
| 551 | + | |
553 | 552 | | |
554 | 553 | | |
555 | 554 | | |
| |||
1715 | 1714 | | |
1716 | 1715 | | |
1717 | 1716 | | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
| 1717 | + | |
1721 | 1718 | | |
1722 | 1719 | | |
1723 | | - | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
1727 | | - | |
1728 | | - | |
1729 | | - | |
1730 | | - | |
1731 | | - | |
1732 | | - | |
1733 | | - | |
1734 | | - | |
1735 | | - | |
1736 | | - | |
1737 | | - | |
| 1720 | + | |
1738 | 1721 | | |
1739 | 1722 | | |
1740 | 1723 | | |
| |||
1753 | 1736 | | |
1754 | 1737 | | |
1755 | 1738 | | |
1756 | | - | |
1757 | 1739 | | |
1758 | 1740 | | |
1759 | 1741 | | |
| |||
0 commit comments