Skip to content

Commit 12ce2a8

Browse files
committed
Update screenshot, fix infinite loop in waves
1 parent bb1b11e commit 12ce2a8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

simview.png

-18.4 KB
Loading

src/waves_panel.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ void WavesPanel::Draw() {
315315
if (highlight) {
316316
if (rename_item_ != nullptr) {
317317
rename_input_.Draw(w_);
318+
list_idx++;
319+
row++;
318320
continue;
319321
} else {
320322
wattron(w_, has_focus_ ? A_REVERSE : A_UNDERLINE);
@@ -410,6 +412,8 @@ void WavesPanel::Draw() {
410412
if (wave_x + i >= max_w) break;
411413
waddch(w_, msg[i]);
412414
}
415+
list_idx++;
416+
row++;
413417
continue; // Nothing more to do.
414418
}
415419
const bool multi_bit = item->signal->width > 1 && item->expanded_bit_idx < 0;

0 commit comments

Comments
 (0)