revert: "read-to-open"

This reverts commit c48d2e6080.
This commit is contained in:
can1357
2026-04-24 22:33:52 +02:00
parent 99a21b95ba
commit d82377cda8
44 changed files with 442 additions and 300 deletions
+2 -4
View File
@@ -590,8 +590,7 @@ function formatStatusEvent(event: PythonStatusEvent, theme: Theme): string {
// Build description based on common fields
switch (op) {
case "read": // legacy alias
case "open":
case "read":
parts.push(`${data.chars} chars`);
if (data.path) parts.push(`from ${shortenPath(String(data.path))}`);
break;
@@ -795,8 +794,7 @@ function formatStatusEventExpanded(event: PythonStatusEvent, theme: Theme): stri
case "git_branch":
if (data.branches) addItems(data.branches as unknown[], b => String(b));
break;
case "read": // legacy alias
case "open":
case "read":
case "cat":
case "head":
case "tail":