Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
feat(agent-tui): glyph and palette colour per run state and panel header
Akarshan Biswasc13e12f67e34
diff --git a/src-tauri/src/core/cli/tui.rs b/src-tauri/src/core/cli/tui.rsindex 72fff8bfc..aa6018d76 100644--- a/src-tauri/src/core/cli/tui.rs+++ b/src-tauri/src/core/cli/tui.rs@@ -21061,10 +21061,10 @@ fn agents_column(let dim = Style::new().fg(theme::muted());let max = width.max(8) as usize;let mut out = vec![Line::from(vec![- Span::styled("≡ ", Style::new().magenta()),+ Span::styled(AGENT_PANEL_GLYPH, Style::new().fg(theme::accent())),Span::styled(pluralize("agent", panels.len()),- Style::new().magenta().bold(),+ Style::new().fg(theme::accent()).bold(),),])];@@ -21291,6 +21291,16 @@ fn provider_label_for_model(}}+/// Status badge glyphs: filled when settled, a ringed dot while the model+/// runs, hollow while the run is parked on background work.+const STATUS_GLYPH_IDLE: &str = "\u{25cf}";+const STATUS_GLYPH_RUNNING: &str = "\u{25c9}";+const STATUS_GLYPH_PARKED: &str = "\u{25cb}";++/// Header glyphs of the docked panels, paired with the accent like the badge.+const TODO_PANEL_GLYPH: &str = "\u{2713} ";+const AGENT_PANEL_GLYPH: &str = "\u{2261} ";+fn header(app: &App) -> Paragraph<'static> {Paragraph::new(Line::from(header_spans(app)))}@@ -21438,6 +21448,18 @@ fn header_spans(app: &App) -> Vec<Span<'static>> {));}spans.push(Span::raw(" "));+ // One glyph per run state, in the badge's own colour, so the state reads+ // by shape as well as by word and colour. Every glyph is one cell, so a+ // state change moves nothing but the label.+ let glyph = match app.status {+ Status::Idle => STATUS_GLYPH_IDLE,+ Status::Running => STATUS_GLYPH_RUNNING,+ Status::Parked => STATUS_GLYPH_PARKED,+ };+ spans.push(Span::styled(+ format!("{glyph} "),+ style.remove_modifier(Modifier::BOLD),+ ));if app.is_thinking() {// Folded reasoning is the one stretch of a run that puts nothing on// screen, so the badge carries the motion. Colour only: the brackets@@ -21520,7 +21542,10 @@ fn phase_position(todos: &crate::core::agent::todo::TodoList) -> usize {/// Todos · 1/2 · backend 1/3 /todo/// ```fn todo_pin(todos: &crate::core::agent::todo::TodoList) -> Line<'static> {- let mut spans = vec![Span::styled("Todos", Style::new().fg(theme::accent()).bold())];+ let mut spans = vec![+ Span::styled(TODO_PANEL_GLYPH, Style::new().fg(theme::accent())),+ Span::styled("Todos", Style::new().fg(theme::accent()).bold()),+ ];if todos.phases.len() > 1 {spans.push(Span::styled(format!(" · {}/{}", phase_position(todos), todos.phases.len()),@@ -38841,6 +38866,37 @@ mod tests {assert!(rows.last().unwrap().contains("/tmp/repo"));}+ /// Every state glyph is one cell, so switching state never shifts the+ /// badge, and each state has its own shape.+ #[test]+ fn status_and_panel_glyphs_are_one_cell_and_distinct() {+ use unicode_width::UnicodeWidthStr;+ let states = [+ super::STATUS_GLYPH_IDLE,+ super::STATUS_GLYPH_RUNNING,+ super::STATUS_GLYPH_PARKED,+ ];+ for glyph in states {+ assert_eq!(glyph.width(), 1, "{glyph}");+ }+ assert_eq!(states.iter().collect::<std::collections::HashSet<_>>().len(), 3);+ assert_eq!(super::TODO_PANEL_GLYPH.width(), super::AGENT_PANEL_GLYPH.width());+ assert_eq!(super::TODO_PANEL_GLYPH.width(), 2, "glyph plus a space");+ }++ #[test]+ fn the_status_glyph_follows_the_run_state() {+ let mut app = test_app();+ let badge = |app: &App| -> String {+ header_spans(app).iter().map(|s| s.content.as_ref()).collect()+ };+ assert!(badge(&app).contains(&format!("{} [ready]", super::STATUS_GLYPH_IDLE)));+ app.status = Status::Parked;+ assert!(badge(&app).contains(&format!("{} [waiting]", super::STATUS_GLYPH_PARKED)));+ app.status = Status::Running;+ assert!(badge(&app).contains(&format!("{} [working]", super::STATUS_GLYPH_RUNNING)));+ }+/// The pin answers "where are we now" in one line, and carries the hint/// that opens the editor.#[test]diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_detail.snap b/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_detail.snapindex d83a3435a..4e4553067 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_detail.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_detail.snap@@ -2,7 +2,7 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [working] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ◉ [working] ||╭ subagent ────────────────────────────────────────────────────────────────────╮||│ kv-review (sub-kv-review-1) │||│ 2 tools · 2 req · 75% cached │|@@ -26,7 +26,8 @@ expression: render_snapshot(buf)0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..64 fg=#56B6C2 mod=BOLD+ 0 55..57 fg=#56B6C2+ 0 57..66 fg=#56B6C2 mod=BOLD1 0..80 fg=#56B6C22 0..1 fg=#56B6C22 2..11 fg=Magenta mod=BOLDdiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_list.snap b/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_list.snapindex bdee115d3..132be3a8a 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_list.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/agents_inspector_list.snap@@ -2,7 +2,7 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [working] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ◉ [working] ||╭ subagents ─────────────────────────────────────────────────────────────────────────────╮||│ ▶ kv-review · 4t · 75% cached · read src/mod_3.rs │||│ perf-scan · 3t · 0% cached · read src/mod_2.rs │|@@ -22,7 +22,8 @@ expression: render_snapshot(buf)0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..64 fg=#56B6C2 mod=BOLD+ 0 55..57 fg=#56B6C2+ 0 57..66 fg=#56B6C2 mod=BOLD1 0..90 fg=#56B6C22 0..1 fg=#56B6C22 2..88 fg=Cyan mod=BOLDdiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/header_idle_ready.snap b/src-tauri/src/core/cli/tui/tests/snapshots/header_idle_ready.snapindex a13df93d6..e4b1dc6b3 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/header_idle_ready.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/header_idle_ready.snap@@ -2,9 +2,9 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [ready] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ● [ready] |0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..62 fg=#98C379+ 0 55..64 fg=#98C379diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/header_parked_waiting.snap b/src-tauri/src/core/cli/tui/tests/snapshots/header_parked_waiting.snapindex 21e30259d..0f034ea12 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/header_parked_waiting.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/header_parked_waiting.snap@@ -2,9 +2,9 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [waiting] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ○ [waiting] |0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..64 fg=#56B6C2+ 0 55..66 fg=#56B6C2diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/header_parked_watching.snap b/src-tauri/src/core/cli/tui/tests/snapshots/header_parked_watching.snapindex 8c7bc0aff..1d2b4938e 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/header_parked_watching.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/header_parked_watching.snap@@ -2,9 +2,9 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [watching] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ○ [watching] |0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..65 fg=#56B6C2+ 0 55..67 fg=#56B6C2diff --git a/src-tauri/src/core/cli/tui/tests/snapshots/header_running_thinking_reduced_motion.snap b/src-tauri/src/core/cli/tui/tests/snapshots/header_running_thinking_reduced_motion.snapindex 7baed6e7d..4127b9341 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/header_running_thinking_reduced_motion.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/header_running_thinking_reduced_motion.snap@@ -2,9 +2,10 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [thinking] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ◉ [thinking] |0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..65 fg=#E5C07B mod=BOLD+ 0 55..57 fg=#E5C07B+ 0 57..67 fg=#E5C07B mod=BOLDdiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/header_running_working_with_turn_and_cache.snap b/src-tauri/src/core/cli/tui/tests/snapshots/header_running_working_with_turn_and_cache.snapindex 96aac9b81..7b1658280 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/header_running_working_with_turn_and_cache.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/header_running_working_with_turn_and_cache.snap@@ -2,10 +2,11 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium turn 3/20 ctx 41K/128K fallback cache 42% [working] |+| 👋 gpt-5-mini effort medium turn 3/20 ctx 41K/128K fallback cache 42% ◉ [working] |0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B0 65..74 fg=#56B6C2- 0 76..85 fg=#56B6C2 mod=BOLD+ 0 76..78 fg=#56B6C2+ 0 78..87 fg=#56B6C2 mod=BOLDdiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/header_zero_cache_hit_ansi16.snap b/src-tauri/src/core/cli/tui/tests/snapshots/header_zero_cache_hit_ansi16.snapindex 51045e63d..fd682fcab 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/header_zero_cache_hit_ansi16.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/header_zero_cache_hit_ansi16.snap@@ -1,12 +1,11 @@---source: src/core/cli/tui/tests/snapshot.rs-assertion_line: 163expression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback cache 0% [ready] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback cache 0% ● [ready] |0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=Yellow0 53..61 fg=Red mod=BOLD- 0 63..70 fg=Green+ 0 63..72 fg=Greendiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_diff_ansi16.snap b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_diff_ansi16.snapindex 86ce2f218..2e3ac3a66 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_diff_ansi16.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_diff_ansi16.snap@@ -2,7 +2,7 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [working] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ◉ [working] ||──────────────────────────────────────────────────────────────────────|| || |@@ -28,7 +28,8 @@ expression: render_snapshot(buf)0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=Yellow- 0 55..64 fg=Cyan mod=BOLD+ 0 55..57 fg=Cyan+ 0 57..66 fg=Cyan mod=BOLD5 0..1 fg=Yellow5 1..22 fg=Black bg=Yellow mod=BOLD5 22..70 fg=Yellowdiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_exec.snap b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_exec.snapindex 7e11e7069..fdd051902 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_exec.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_exec.snap@@ -2,7 +2,7 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [working] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ◉ [working] ||────────────────────────────────────────────────────────────────────────────────|| || |@@ -26,7 +26,8 @@ expression: render_snapshot(buf)0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..64 fg=#56B6C2 mod=BOLD+ 0 55..57 fg=#56B6C2+ 0 57..66 fg=#56B6C2 mod=BOLD10 0..1 fg=#E5C07B10 1..22 fg=Black bg=#E5C07B mod=BOLD10 22..80 fg=#E5C07Bdiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_subagent_queued.snap b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_subagent_queued.snapindex 96f6c9c50..293e7f9f0 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_subagent_queued.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/permission_prompt_subagent_queued.snap@@ -2,7 +2,7 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [working] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ◉ [working] ||────────────────────────────────────────────────────────────────────────|| || |@@ -24,7 +24,8 @@ expression: render_snapshot(buf)0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..64 fg=#56B6C2 mod=BOLD+ 0 55..57 fg=#56B6C2+ 0 57..66 fg=#56B6C2 mod=BOLD8 0..1 fg=#E5C07B8 1..31 fg=Black bg=#E5C07B mod=BOLD8 31..72 fg=#E5C07Bdiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/subagent_dock_cache_rates.snap b/src-tauri/src/core/cli/tui/tests/snapshots/subagent_dock_cache_rates.snapindex 4777f0957..1025cb837 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/subagent_dock_cache_rates.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/subagent_dock_cache_rates.snap@@ -14,8 +14,8 @@ expression: render_snapshot(buf)|· collector phase 2 · waiting || review the file |- 0 0..2 fg=Magenta- 0 2..10 fg=Magenta mod=BOLD+ 0 0..2 fg=#56B6C2+ 0 2..10 fg=#56B6C2 mod=BOLD1 0..11 fg=Magenta1 11..41 fg=#8080802 3..20 mod=DIMdiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/subagent_dock_overflow.snap b/src-tauri/src/core/cli/tui/tests/snapshots/subagent_dock_overflow.snapindex 4b7426725..7fa35222d 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/subagent_dock_overflow.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/subagent_dock_overflow.snap@@ -7,8 +7,8 @@ expression: render_snapshot(buf)|• perf-scan 3t · 3r · 15.6% · 0% cached || +3 more · /agents |- 0 0..2 fg=Magenta- 0 2..10 fg=Magenta mod=BOLD+ 0 0..2 fg=#56B6C2+ 0 2..10 fg=#56B6C2 mod=BOLD1 0..11 fg=Magenta1 11..41 fg=#8080802 0..11 fg=Magentadiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_single_phase.snap b/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_single_phase.snapindex 1c8be619c..bcf39d840 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_single_phase.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_single_phase.snap@@ -2,14 +2,14 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [working] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ◉ [working] ||────────────────────────────────────────────────────────────────────────────────|| || || || plan it || |-|Todos · 2/4 /todo |+|✓ Todos · 2/4 /todo || ☑ scaffold the crate || ☐ wire the routes || ☐ write the docs |@@ -22,13 +22,15 @@ expression: render_snapshot(buf)0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..64 fg=#56B6C2 mod=BOLD+ 0 55..57 fg=#56B6C2+ 0 57..66 fg=#56B6C2 mod=BOLD5 0..1 fg=LightMagenta bg=#282C3A mod=BOLD5 1..8 fg=#E9ECF2 bg=#282C3A mod=BOLD5 8..9 bg=#282C3A- 7 0..5 fg=#56B6C2 mod=BOLD- 7 5..11 mod=DIM- 7 11..19 fg=#808080+ 7 0..2 fg=#56B6C2+ 7 2..7 fg=#56B6C2 mod=BOLD+ 7 7..13 mod=DIM+ 7 13..21 fg=#8080808 1..21 mod=DIM | CROSSED_OUT9 1..18 fg=#56B6C210 1..17 mod=DIMdiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_split_with_agents.snap b/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_split_with_agents.snapindex f6fe0d6a5..64eb488d9 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_split_with_agents.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_split_with_agents.snap@@ -2,7 +2,7 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [working] |+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ◉ [working] ||────────────────────────────────────────────────────────────────────────────────────────────────────|| || |@@ -12,7 +12,7 @@ expression: render_snapshot(buf)| || build it || |-|Todos · 1/2 · backend 1/3 /todo │ ≡ 1 agent |+|✓ Todos · 1/2 · backend 1/3 /todo │ ≡ 1 agent || ☑ scaffold │ • api-review 6t · 6r · 9.4% · 75% cached || ☐ routes │ review the file || ☐ auth │ read src/mod_5.rs |@@ -24,17 +24,19 @@ expression: render_snapshot(buf)0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..64 fg=#56B6C2 mod=BOLD+ 0 55..57 fg=#56B6C2+ 0 57..66 fg=#56B6C2 mod=BOLD8 0..1 fg=LightMagenta bg=#282C3A mod=BOLD8 1..9 fg=#E9ECF2 bg=#282C3A mod=BOLD8 9..10 bg=#282C3A-10 0..5 fg=#56B6C2 mod=BOLD-10 5..11 fg=#56B6C2-10 11..25 mod=DIM-10 25..33 fg=#808080+10 0..2 fg=#56B6C2+10 2..7 fg=#56B6C2 mod=BOLD+10 7..13 fg=#56B6C2+10 13..27 mod=DIM+10 27..35 fg=#80808010 48..51 fg=#808080-10 51..53 fg=Magenta-10 53..60 fg=Magenta mod=BOLD+10 51..53 fg=#56B6C2+10 53..60 fg=#56B6C2 mod=BOLD11 1..11 mod=DIM | CROSSED_OUT11 48..51 fg=#80808011 51..63 fg=Magentadiff --git a/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_stacked_narrow.snap b/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_stacked_narrow.snapindex bf6a52608..3c5d4bef9 100644--- a/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_stacked_narrow.snap+++ b/src-tauri/src/core/cli/tui/tests/snapshots/todo_panel_stacked_narrow.snap@@ -2,14 +2,14 @@source: src/core/cli/tui/tests/snapshot.rsexpression: render_snapshot(buf)----| 👋 gpt-5-mini effort medium ctx 0K/128K fallback [work|+| 👋 gpt-5-mini effort medium ctx 0K/128K fallback ◉ [wo||────────────────────────────────────────────────────────────|| || || || build it || |-|Todos · 0/2 /todo |+|✓ Todos · 0/2 /todo || ☐ routes || ☐ auth ||≡ 1 agent |@@ -24,17 +24,19 @@ expression: render_snapshot(buf)0 0..2 fg=Yellow0 3..14 mod=BOLD0 14..29 fg=#E5C07B- 0 55..60 fg=#56B6C2 mod=BOLD+ 0 55..57 fg=#56B6C2+ 0 57..60 fg=#56B6C2 mod=BOLD5 0..1 fg=LightMagenta bg=#282C3A mod=BOLD5 1..9 fg=#E9ECF2 bg=#282C3A mod=BOLD5 9..10 bg=#282C3A- 7 0..5 fg=#56B6C2 mod=BOLD- 7 5..11 mod=DIM- 7 11..19 fg=#808080+ 7 0..2 fg=#56B6C2+ 7 2..7 fg=#56B6C2 mod=BOLD+ 7 7..13 mod=DIM+ 7 13..21 fg=#8080808 1..9 fg=#56B6C29 1..7 mod=DIM-10 0..2 fg=Magenta-10 2..9 fg=Magenta mod=BOLD+10 0..2 fg=#56B6C2+10 2..9 fg=#56B6C2 mod=BOLD11 0..12 fg=Magenta11 12..21 fg=#80808012 3..18 mod=DIM | ITALIC