mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
website: add validation for sd
This commit is contained in:
@ -13,3 +13,25 @@ the scroll region. The cursor position after the operation must be unchanged
|
|||||||
from when SD was invoked.
|
from when SD was invoked.
|
||||||
|
|
||||||
This sequence unsets the pending wrap state.
|
This sequence unsets the pending wrap state.
|
||||||
|
|
||||||
|
## Validation
|
||||||
|
|
||||||
|
### SD V-1: Outside of Top/Bottom Scroll Region
|
||||||
|
|
||||||
|
```bash
|
||||||
|
printf "\033[1;1H" # move to top-left
|
||||||
|
printf "\033[0J" # clear screen
|
||||||
|
printf "ABC\n"
|
||||||
|
printf "DEF\n"
|
||||||
|
printf "GHI\n"
|
||||||
|
printf "\033[3;4r" # scroll region top/bottom
|
||||||
|
printf "\033[2;2H"
|
||||||
|
printf "\033[T"
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
|ABC_____|
|
||||||
|
|DEF_____|
|
||||||
|
|________|
|
||||||
|
|GHI_____|
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user