[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Global tabgives and spacestotab config option
From: |
Benno Schulenberg |
Subject: |
Re: Global tabgives and spacestotab config option |
Date: |
Wed, 9 Jun 2021 10:04:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Op 08-06-2021 om 17:30 schreef Peter Magnusson:
> Would it be possible to track if the user copy something with the
> mouse -> do a meta-command that look up what was copied and if thereĀ
> is actually tabs in the buffer it will replace the spaces with tabs
When selecting text by dragging the mouse you are in a graphical
environment, in X, and while dragging the mouse X is talking to
the terminal, the graphical terminal, to obtain the text that is
being selected. There is no communication between X and nano,
nano has no knowledge of what you are doing with the mouse.
(And when you use --mouse, then you cannot select text with the
mouse. Nano consumes the clicks.)
So no, it's not possible to let nano modify text selections that
you make with the mouse under X.
Benno
signature.asc
Description: OpenPGP digital signature
- Re: Global tabgives and spacestotab config option, (continued)
- Re: Global tabgives and spacestotab config option, pepa65, 2021/06/04
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/04
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/08
- Re: Global tabgives and spacestotab config option, pepa65, 2021/06/08
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/18
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/19
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/22
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/23
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/24
Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/08
- Re: Global tabgives and spacestotab config option,
Benno Schulenberg <=