Commit d201ba3
Eric Bower
·
2026-08-19 14:05:45 -0400 EDT
parent dd50303
Revert "chore: remove focused flag from term cmd" This reverts commit dd50303bd6fb39058b635022a2dd0a172d8a63af.
1 files changed,
+7,
-0
+7,
-0
| ... | ... | @@ -236,6 +236,13 @@ pub fn dumpState(alloc: Allocator, term: *const ghostty_vt.Terminal, daemon_info | |
| 236 | 236 | try jw.write(@tagName(active_screen.charset.gr)); | |
| 237 | 237 | try jw.endObject(); | |
| 238 | 238 | ||
| 239 | + | // flags | |
| 240 | + | try jw.objectField("flags"); | |
| 241 | + | try jw.beginObject(); | |
| 242 | + | try jw.objectField("focused"); | |
| 243 | + | try jw.write(term.flags.focused); | |
| 244 | + | try jw.endObject(); | |
| 245 | + | ||
| 239 | 246 | try jw.endObject(); | |
| 240 | 247 | ||
| 241 | 248 | try out.writer.writeAll("\n"); |