Skip to content

Commit 7d17926

Browse files
committed
fix: omp.json -- final_space=true again so right block doesn't wrap when WT reports terminal width 1 cell over visible (was making the time segment wrap to the next line's left edge)
1 parent bee8438 commit 7d17926

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

usr/share/mios/oh-my-posh/mios.omp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
33
"version": 4,
4-
"//final_space": "false: don't reserve a trailing column after the prompt -- the right-aligned time segment uses trailing_diamond U+E0B4 to reach col 79 of the frameless 80-col terminal.",
5-
"final_space": false,
4+
"//final_space": "true: reserve a trailing cell so oh-my-posh's right-aligned block doesn't push to the actual right edge -- the operator's WT pseudo-console sometimes reports terminal width 1 cell over the visible cell count, which made the trailing time char wrap to the next line ('powerline time wraps to the left side'). Reserving one cell gives the segment safety margin against off-by-one width reports.",
5+
"final_space": true,
66
"//": [
77
"MiOS Oh-My-Posh theme.",
88
"All Nerd Font private-use-area glyphs are encoded as JSON \\uXXXX",

0 commit comments

Comments
 (0)