xterm audit: slow scroll (DECSCLM)

This commit is contained in:
Mitchell Hashimoto
2023-11-12 22:11:11 -08:00
parent f00c87e805
commit 8783f6c925
2 changed files with 13 additions and 0 deletions

View File

@ -185,6 +185,7 @@ const entries: []const ModeEntry = &.{
// DEC
.{ .name = "cursor_keys", .value = 1 }, // DECCKM
.{ .name = "132_column", .value = 3 },
.{ .name = "slow_scroll", .value = 4 },
.{ .name = "reverse_colors", .value = 5 },
.{ .name = "origin", .value = 6 },
.{ .name = "wraparound", .value = 7, .default = true },

View File

@ -0,0 +1,12 @@
import VTMode from "@/components/VTMode";
# Slow Scroll (DECSCLM)
<VTMode value={4} />
Enable slow or smooth scrolling.
Typically, slow scrolling will scroll line by line when using scroll
functions (arrow keys, scrollbar, etc.). With this disabling, scrolling
jumps by more lines. This is purely up to the terminal to implement how it
sees fit.