History

use box drawings light vertical instead of |

Sigrid Solveig Haflínudóttir committed 5 years ago

Commit ac6ff8b1 parent 55b65201 file · +2 −2Browse files

Unified · Split

bar.c+2−2
@@ -106,7 +106,7 @@ redraw(void) · 105 unmodified lines
106 t = bat < 0 || pread(bat, tmp, 4, 0) < 4 ? nil : strchr(tmp, ' ');106 t = bat < 0 || pread(bat, tmp, 4, 0) < 4 ? nil : strchr(tmp, ' ');
107 if(t != nil){107 if(t != nil){
108 *t = 0;108 *t = 0;
109 snprint(bats, sizeof(bats), pos[0] == 'l' || pos[1] == 'l' ? " | %s%%" : "%s%% | ", tmp);109 snprint(bats, sizeof(bats), pos[0] == 'l' || pos[1] == 'l' ? " │ %s%%" : "%s%% │ ", tmp);
110 }else{110 }else{
111 bats[0] = 0;111 bats[0] = 0;
112 }112 }
@@ -125,7 +125,7 @@ redraw(void) · 12 unmodified lines
125 flushimage(display, 1);125 flushimage(display, 1);
126 unlockdisplay(display);126 unlockdisplay(display);
127 127
128 snprint(s, sizeof(s), "%s%τ", bats[0] ? "100% | " : "", tf);128 snprint(s, sizeof(s), "%s%τ", bats[0] ? "100% │ " : "", tf);
129 width = stringwidth(f, s);129 width = stringwidth(f, s);
130 place();130 place();
131}131}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t