From 8783f6c925183a09c747d62bf123163a531e2ee1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 12 Nov 2023 22:11:11 -0800 Subject: [PATCH] xterm audit: slow scroll (DECSCLM) --- src/terminal/modes.zig | 1 + website/app/vt/modes/decsclm/page.mdx | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 website/app/vt/modes/decsclm/page.mdx diff --git a/src/terminal/modes.zig b/src/terminal/modes.zig index 906b6f610..cd2e1f45a 100644 --- a/src/terminal/modes.zig +++ b/src/terminal/modes.zig @@ -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 }, diff --git a/website/app/vt/modes/decsclm/page.mdx b/website/app/vt/modes/decsclm/page.mdx new file mode 100644 index 000000000..809521607 --- /dev/null +++ b/website/app/vt/modes/decsclm/page.mdx @@ -0,0 +1,12 @@ +import VTMode from "@/components/VTMode"; + +# Slow Scroll (DECSCLM) + + + +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.