When a popup is created with line set to &lines or &lines - 1, any echo inside the filter callback triggers a screen refresh that clears or redraws the popup content unexpectedly.
vim9script popup_create('xxxxxxxxxxxxxxxxxx', { line: &lines - 1, filter: (win, key) => { if key == 'e' echo 'ls' popup_close(win) endif return false } })
Press e → echo appears but popup flickers/refreshes.
echo should not force a full screen refresh like &lines - 2
9.2.0747
MS-Windows GUI and TUI
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()