mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
website: CNL CPL
This commit is contained in:
13
website/app/vt/cnl/page.mdx
Normal file
13
website/app/vt/cnl/page.mdx
Normal file
@ -0,0 +1,13 @@
|
||||
import VTSequence from "@/components/VTSequence";
|
||||
|
||||
# Cursor Next Line (CNL)
|
||||
|
||||
<VTSequence sequence={["CSI", "Pn", "E"]} />
|
||||
|
||||
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).
|
13
website/app/vt/cpl/page.mdx
Normal file
13
website/app/vt/cpl/page.mdx
Normal file
@ -0,0 +1,13 @@
|
||||
import VTSequence from "@/components/VTSequence";
|
||||
|
||||
# Cursor Previous Line (CPL)
|
||||
|
||||
<VTSequence sequence={["CSI", "Pn", "F"]} />
|
||||
|
||||
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).
|
Reference in New Issue
Block a user