Hi, currently there is no built-in way to have a prompt in a popup window
so am trying to fake it with filtering.
While in the early stages, I found out that the filter func constantly gets
<80>` value.
What is this?
How can I properly filter it out?
With the following code:
vim9script
expor
Maxim Kim wrote:
> Hi, currently there is no built-in way to have a prompt in a popup window
> so am trying to fake it with filtering.
>
> While in the early stages, I found out that the filter func constantly gets
> <80>` value.
>
> What is this?
> How can I properly filter it out?
>
> Wit
Salman
On Sun, Aug 7, 2022, 10:53 Bram Moolenaar wrote:
>
> Maxim Kim wrote:
>
> > Hi, currently there is no built-in way to have a prompt in a popup
> window
> > so am trying to fake it with filtering.
> >
> > While in the early stages, I found out that the filter func constantly
> gets
> > <80
On 2022-08-07 17:53, Bram Moolenaar wrote:
Don't see it in the GIF.
in the message area at the end of gif <80>`
here probably is a third byte that you don't see.
Third byte is `
0x80 0xfd is a
prefix for a special key. There is a list in src/keymap.h, "enum
key_extra".
I have checke
It looks like it happens on cursorhold event, not 100% sure though.
Indeed, if I change `set updatetime=1000` then I get this every second:
vim9script
def Test()
var prompt: string = ''
const wid: number = popup_create('', {
minwidth: 20,
maxheight: 1,
mappin
The issue is with windows gvim 9.0.133
I have tried the same in fedora36 vim 9.0.161 and it doesn't have this.
воскресенье, 7 августа 2022 г. в 18:49:03 UTC+3, Maxim Kim:
>
> It looks like it happens on cursorhold event, not 100% sure though.
>
> Indeed, if I change `set updatetime=1000` then I
And this is actually cursorhold, and I can filter it out with
if key == "\"
return true
...
Full snippet:
vim9script
def Test()
var prompt: string = ''
const wid: number = popup_create('', {
minwidth: 20,
maxheight: 1,
mapping: false,