#1066827 foot: mouse-click results in sequence 0;45;9M0;45;9m, displayed at the prompt

Package:
foot
Source:
foot
Description:
Fast, lightweight and minimalistic Wayland terminal emulator
Submitter:
Johann Hoermann
Date:
2024-03-14 18:30:02 UTC
Severity:
normal
#1066827#5
Date:
2024-03-13 23:06:18 UTC
From:
To:
Dear Maintainer,

   when i do a mouse-click in a just opened foot terminal, it highlights the text under the mouse-pointer which is the expected behaviour.

   After a while, instead of highlighting, a new mouse-click results in a sequence 0;45;9M0;45;9m being displayed at the shell prompt.

#1066827#10
Date:
2024-03-14 15:35:07 UTC
From:
To:
Hi,


can you clarify what "after a while" means? I can not reproduce the
behavior and I'm using foot all the time...
Do you have a custom foot configuration?

cheers,
Birger

#1066827#15
Date:
2024-03-14 18:25:44 UTC
From:
To:
Hi,

"after a while" means: when i did use vi.

Meanwhile it is clear  this was the reason. Simply starting vi in a foot
terminal, without a file, and immediately returning to the shell caused
that behaviour.

I could stop it by removing my /etc/vim/vimrc.local file.
Content of that file was
syntax off
set mouse=
set ttymouse=

This file was a relict of working with x-server it is not any more needed
with sway.

Sorry for the inconvenience,

Johann
highlights the text under the mouse-pointer which is the expected behaviour.
in a sequence 0;45;9M0;45;9m being displayed at the shell prompt.