plan9fox/sys/src/cmd/vt
cinap_lenrek de9aa721f6 vt: implement proper selections (thanks Ori_B)
Ori Bernstein wrote:
> I finally got around to taking another shot at this vt patch. This change
> gets rid of implicit snarfing, and instead makes selection the way you
> select text for snarfing or plumbing. Select, then use a menu entry.
>
> It would probably be nice to have double click to expand the selection,
> rio-style, along with plumbing implicitly taking the current word, but
> that can be a separate patch.
>
> This change also punts on scrolling for simplicity -- it clears the
> selection instead of trying to handle the cases where the selection
> goes offscreen.

little amendments:

- fix line selection (point min/max inversion)
- clear selection when switching linesel/blocksel
- move selection on scroll
2018-09-03 20:05:26 +02:00
..
cons.h vt: block when sending input to host (fixes truncated paste) 2017-10-20 20:31:30 +02:00
fs.c vt: block when sending input to host (fixes truncated paste) 2017-10-20 20:31:30 +02:00
main.c vt: implement proper selections (thanks Ori_B) 2018-09-03 20:05:26 +02:00
mkfile vt: implement /dev/cons and /dev/consctl as a fileserver, winch, incremental redraw 2017-08-20 19:22:30 +02:00
termcap Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vt.c vt: implement /dev/cons and /dev/consctl as a fileserver, winch, incremental redraw 2017-08-20 19:22:30 +02:00