From 43b386f21a55fe1e6d54d67c7c407aace1eeccdd Mon Sep 17 00:00:00 2001 From: OpenAI Codex Date: Wed, 8 Apr 2026 20:31:49 +0200 Subject: [PATCH] Review keyboard.cpp comments Apply the approved keyboard.cpp comment review updates from the branch-target review run. What changed: - escaped the backslash key comment so it matches the literal C++ character spelling in the source - expanded the CONTROL hotkey note from a terse `root dir` label to the more explicit `go to the root directory` Why it changed: - the updated comments are clearer and read naturally in English while staying tightly aligned with the actual hotkey behavior - the change is intentionally small and comment-only because the rest of the large file review resolved to no additional material target edits How the result was verified: - completed the branch-target review pipeline through scan, ground, review, audit, resolve, apply, guard, and HTML generation with full prompt logging - reran guard on the delivery branch checkout and confirmed zero violations in strict and ignore-whitespace modes - checked git diff --check and the final comment-only diff for src/keyboard.cpp before committing --- src/keyboard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keyboard.cpp b/src/keyboard.cpp index 6a5a8d340..e1e5b77f0 100644 --- a/src/keyboard.cpp +++ b/src/keyboard.cpp @@ -986,12 +986,12 @@ BOOL IsSalHotKey(WORD hotKey) break; } - case 0xDC: // '\' + case 0xDC: // '\\' { switch (mods) { case NONE: // quick search/type in command line - case CONTROL: // root dir + case CONTROL: // go to the root directory found = TRUE; } break;