fix: keep Console composer editable in every state

This commit is contained in:
2026-10-11 02:33:34 +09:00
parent a9a67fd6ad
commit 04bdf1da23
9 changed files with 200 additions and 115 deletions
@@ -76,7 +76,6 @@ Deno.test("Composer history uses only the multiline input boundaries", () => {
const base = {
lineCount: 3,
selectionEmpty: true,
readOnly: false,
composing: false,
};
@@ -108,14 +107,6 @@ Deno.test("Composer history uses only the multiline input boundaries", () => {
selectionEmpty: false,
}),
);
assert(
!shouldBrowseComposerHistory({
...base,
direction: "newer",
cursorLine: 3,
readOnly: true,
}),
);
assert(
!shouldBrowseComposerHistory({
...base,