From baf9d21b5eb5cc359bcbc7a7eb964ef7157729fe Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 10 Oct 2023 14:36:39 -0700 Subject: [PATCH] website: CNL CPL --- website/app/vt/cnl/page.mdx | 13 +++++++++++++ website/app/vt/cpl/page.mdx | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 website/app/vt/cnl/page.mdx create mode 100644 website/app/vt/cpl/page.mdx 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).