Skip to content

Commit 5a096ab

Browse files
committed
Fix numeric prefix
1 parent ab14103 commit 5a096ab

File tree

2 files changed

+2
-97
lines changed

2 files changed

+2
-97
lines changed

src/app.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ impl App<'_> {
169169
&& (c != '0' || !self.numeric_prefix.is_empty())
170170
{
171171
self.numeric_prefix.push(c);
172-
continue;
173172
}
174173
}
175174
}
@@ -251,7 +250,8 @@ impl App<'_> {
251250
if self.numeric_prefix.is_empty() {
252251
Line::raw("")
253252
} else {
254-
Line::raw(self.numeric_prefix.as_str()).fg(self.color_theme.status_input_fg)
253+
Line::raw(self.numeric_prefix.as_str())
254+
.fg(self.color_theme.status_input_transient_fg)
255255
}
256256
}
257257
StatusLine::Input(msg, _, transient_msg) => {

tests/numeric_prefix.rs

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)