Thanks John, 

Yeah, I think I have it working now - making mouse scroll events work in 
windows terminal even without dll.  But for some reason, it's still not 
recognising any mousscroll mappings (with or without the dll).  I want to 
make sure it also does mappings properly before I submit a new patch. 

Anyway, I will make sure to check mingw64  toolchain, and gcc compilations, 
for these sorts of warnings in the future.  Feel like its something that I 
should have done.

Cheers,

Chris.   

On Wednesday, 19 October 2022 at 07:51:02 UTC+11 Bram Moolenaar wrote:

>
> John Marriott wrote:
>
> > On 18-Oct-2022 23:34, Bram Moolenaar wrote:
> > > Patch 9.0.0787 (after 9.0.0775)
> > > Problem: MS-Windows: mouse scrolling in terminal misbehaves without 
> dll.
> > > Solution: Add #ifdef as a temporary solution. (Christopher Plewright,
> > > closes #11392)
> > > Files: src/os_win32.c
> > >
> > >
> > I know this was a temporary solution, but after this patch mingw64 (gcc 
> > 12.2.0) gives this warning in a non-gui build:
> > <snip>
> > gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 
> > -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -D__USE_MINGW_ANSI_STDIO 
> > -pipe -Wall -O3 -fomit-frame-pointer -freg-struct-return -fpie -fPIE  
> > os_win32.c -o objx86-64/os_win32.o os_win32.c:1257:1: warning: 
> > 'decode_mouse_wheel' defined but not used [-Wunused-function]
> >  1257 | decode_mouse_wheel(MOUSE_EVENT_RECORD *pmer)
> >       | ^~~~~~~~~~~~~~~~~~
> > </snip>
> > 
> > The attached patch tries to fix it.
>
> Thanks. It's a temporary solution, but I have no idea how long it takes
> before we have it working again.
>
> -- 
> LETTERS TO THE EDITOR (The Times of London)
>
> Dear Sir,
>
> I am firmly opposed to the spread of microchips either to the home or
> to the office.  We have more than enough of them foisted upon us in
> public places.  They are a disgusting Americanism, and can only result
> in the farmers being forced to grow smaller potatoes, which in turn
> will cause massive unemployment in the already severely depressed
> agricultural industry.
>
> Yours faithfully,
>         Capt. Quinton D'Arcy, J. P.
>         Sevenoaks
>
> /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
> /// \\\
> \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
> \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/f7f85099-971d-46bd-abb8-d072ff2fbe15n%40googlegroups.com.

Raspunde prin e-mail lui