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.