feat: Update terminal scroll line settings, disable infinite scrolling
This commit is contained in:
1
CODEX.md
1
CODEX.md
@ -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.
|
- Read relevant code and docs before editing.
|
||||||
- Check `git status --short` before edits.
|
- Check `git status --short` before edits.
|
||||||
- Treat existing uncommitted changes as user work; do not revert them unless explicitly requested.
|
- 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.
|
- 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.
|
- 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.
|
- Keep edits small and task-scoped.
|
||||||
|
|||||||
@ -35,6 +35,7 @@ SAMPLE_SENDER_SECONDS = "30"
|
|||||||
SAMPLE_SENDER_STAGGERED_SECONDS = "60"
|
SAMPLE_SENDER_STAGGERED_SECONDS = "60"
|
||||||
XROBOTOOLKIT_BRIDGE_HZ = "90"
|
XROBOTOOLKIT_BRIDGE_HZ = "90"
|
||||||
XROBOTOOLKIT_BRIDGE_EXECUTABLE = "xrobotoolkit_to_udp_bridge"
|
XROBOTOOLKIT_BRIDGE_EXECUTABLE = "xrobotoolkit_to_udp_bridge"
|
||||||
|
TERMINAL_SCROLLBACK_LINES = 2000
|
||||||
SAMPLE_SENDER_ARGS = (
|
SAMPLE_SENDER_ARGS = (
|
||||||
f"--host 127.0.0.1 --port {DEFAULT_PORT} "
|
f"--host 127.0.0.1 --port {DEFAULT_PORT} "
|
||||||
"--pattern axis_sweep --amplitude 0.5 "
|
"--pattern axis_sweep --amplitude 0.5 "
|
||||||
@ -1062,7 +1063,8 @@ class LauncherApp:
|
|||||||
"[keybindings]",
|
"[keybindings]",
|
||||||
"[profiles]",
|
"[profiles]",
|
||||||
" [[default]]",
|
" [[default]]",
|
||||||
" scrollback_infinite = True",
|
" scrollback_infinite = False",
|
||||||
|
f" scrollback_lines = {TERMINAL_SCROLLBACK_LINES}",
|
||||||
"[layouts]",
|
"[layouts]",
|
||||||
f" [[{layout_name}]]",
|
f" [[{layout_name}]]",
|
||||||
" [[[window0]]]",
|
" [[[window0]]]",
|
||||||
@ -1117,7 +1119,8 @@ class LauncherApp:
|
|||||||
"[keybindings]",
|
"[keybindings]",
|
||||||
"[profiles]",
|
"[profiles]",
|
||||||
" [[default]]",
|
" [[default]]",
|
||||||
" scrollback_infinite = True",
|
" scrollback_infinite = False",
|
||||||
|
f" scrollback_lines = {TERMINAL_SCROLLBACK_LINES}",
|
||||||
"[layouts]",
|
"[layouts]",
|
||||||
f" [[{layout_name}]]",
|
f" [[{layout_name}]]",
|
||||||
" [[[window0]]]",
|
" [[[window0]]]",
|
||||||
|
|||||||
Reference in New Issue
Block a user