feat: Update terminal scroll line settings, disable infinite scrolling

This commit is contained in:
2026-06-25 22:31:43 +08:00
parent fe29acebc2
commit 96b9014b7f
2 changed files with 6 additions and 2 deletions

View File

@ -165,6 +165,7 @@ Use the repository rule file as the project-level source of truth for coding-age
- Read relevant code and docs before editing.
- Check `git status --short` before edits.
- Treat existing uncommitted changes as user work; do not revert them unless explicitly requested.
- Unless the user explicitly asks for direct code or file changes, first explain the proposed approach and wait for the user to decide whether to execute, continue, revise, or stop.
- Before writing files, explain the goal understanding, files to touch, implementation plan, risks, and validation path, then wait for user confirmation.
- Skip the confirmation gate only when the user's current request clearly authorizes direct modification, such as "可以直接修改", "无需确认", "直接执行", or equivalent wording.
- Keep edits small and task-scoped.

View File

@ -35,6 +35,7 @@ SAMPLE_SENDER_SECONDS = "30"
SAMPLE_SENDER_STAGGERED_SECONDS = "60"
XROBOTOOLKIT_BRIDGE_HZ = "90"
XROBOTOOLKIT_BRIDGE_EXECUTABLE = "xrobotoolkit_to_udp_bridge"
TERMINAL_SCROLLBACK_LINES = 2000
SAMPLE_SENDER_ARGS = (
f"--host 127.0.0.1 --port {DEFAULT_PORT} "
"--pattern axis_sweep --amplitude 0.5 "
@ -1062,7 +1063,8 @@ class LauncherApp:
"[keybindings]",
"[profiles]",
" [[default]]",
" scrollback_infinite = True",
" scrollback_infinite = False",
f" scrollback_lines = {TERMINAL_SCROLLBACK_LINES}",
"[layouts]",
f" [[{layout_name}]]",
" [[[window0]]]",
@ -1117,7 +1119,8 @@ class LauncherApp:
"[keybindings]",
"[profiles]",
" [[default]]",
" scrollback_infinite = True",
" scrollback_infinite = False",
f" scrollback_lines = {TERMINAL_SCROLLBACK_LINES}",
"[layouts]",
f" [[{layout_name}]]",
" [[[window0]]]",