diff --git a/website/app/vt/cnl/page.mdx b/website/app/vt/cnl/page.mdx new file mode 100644 index 000000000..06f5ca9be --- /dev/null +++ b/website/app/vt/cnl/page.mdx @@ -0,0 +1,13 @@ +import VTSequence from "@/components/VTSequence"; + +# Cursor Next Line (CNL) + + + +Move the cursor `n` cells down and to the beginning of the line. + +The parameter `n` must be an integer greater than or equal to 1. If `n` is less than +or equal to 0, adjust `n` to be 1. If `n` is omitted, `n` defaults to 1. + +The logic of this sequence is identical to [Cursor Down (CUD)](/vt/cud) +followed by [Carriage Return (CR)](/vt/cr). diff --git a/website/app/vt/cpl/page.mdx b/website/app/vt/cpl/page.mdx new file mode 100644 index 000000000..b055f7e87 --- /dev/null +++ b/website/app/vt/cpl/page.mdx @@ -0,0 +1,13 @@ +import VTSequence from "@/components/VTSequence"; + +# Cursor Previous Line (CPL) + + + +Move the cursor `n` cells up and to the beginning of the line. + +The parameter `n` must be an integer greater than or equal to 1. If `n` is less than +or equal to 0, adjust `n` to be 1. If `n` is omitted, `n` defaults to 1. + +The logic of this sequence is identical to [Cursor Up (CUU)](/vt/cuu) +followed by [Carriage Return (CR)](/vt/cr).