Commit f029fbf
committed
Remove ghostel--pin-window-start that caused emoji clipping
set-window-start pinning to point-min forced the top of the buffer
to be visible, which clipped the bottom when emoji lines expanded
line height beyond what window-body-height assumed.
Emacs already handles this correctly via scroll-conservatively 101
(set in ghostel-mode): it scrolls minimally to keep point visible,
naturally showing the bottom (prompt/cursor) when content overflows.
The original viewport drift issue with ink.js TUI apps was fixed by
the other changes (render.zig line trimming, line-spacing 0), not
by the window-start pinning.1 parent d335346 commit f029fbf
1 file changed
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1710 | 1710 | | |
1711 | 1711 | | |
1712 | 1712 | | |
1713 | | - | |
1714 | | - | |
1715 | | - | |
1716 | | - | |
1717 | | - | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
| 1713 | + | |
1721 | 1714 | | |
1722 | 1715 | | |
1723 | 1716 | | |
1724 | 1717 | | |
1725 | 1718 | | |
1726 | 1719 | | |
1727 | | - | |
1728 | | - | |
| 1720 | + | |
1729 | 1721 | | |
1730 | 1722 | | |
1731 | 1723 | | |
| |||
1772 | 1764 | | |
1773 | 1765 | | |
1774 | 1766 | | |
1775 | | - | |
1776 | | - | |
| 1767 | + | |
1777 | 1768 | | |
1778 | 1769 | | |
1779 | 1770 | | |
| |||
0 commit comments