HomeFreeBSD

vt(4): When cutting a line, append a newline character.

Description

vt(4): When cutting a line, append a newline character.

While at it optimise "case 3" into a default.
This way there is no need to initialize the "mark" variable in the beginning,
because all cases set it.

MFC after: 1 week
Sponsored by: NVIDIA Networking
Differential Revision: https://reviews.freebsd.org/D36042

Details

Provenance
tezeka_hotmail.comAuthored on Oct 5 2022, 9:20 AM
hselaskyCommitted on Oct 5 2022, 9:51 AM
Differential Revision
D36042: vt 3 clicks paste
Parents
rG18a44589fcdc: vt(4): Use define instead of numerical value.
Branches
Unknown
Tags
Unknown