terminal: remove old semantic_prompt

This commit is contained in:
Mitchell Hashimoto
2026-01-26 13:26:33 -08:00
parent 1b2376d366
commit 5f77b0ed98
2 changed files with 5 additions and 32 deletions

View File

@@ -15,9 +15,9 @@ pub fn neverExtendBg(
// Any semantic prompts should not have their background extended
// because prompts often contain special formatting (such as
// powerline) that looks bad when extended.
switch (row.semantic_prompt) {
.prompt, .prompt_continuation, .input => return true,
.unknown, .command => {},
switch (row.semantic_prompt2) {
.prompt, .prompt_continuation => return true,
.no_prompt => {},
}
for (0.., cells) |x, *cell| {