Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style(tui): remove redundant viewport parentheses

Steven Enamakel38058160acc2
diff --git a/crates/openhuman-tui/src/viewport.rs b/crates/openhuman-tui/src/viewport.rs
index 6a1f09f983..e02769b376 100644
--- a/crates/openhuman-tui/src/viewport.rs
+++ b/crates/openhuman-tui/src/viewport.rs
@@ -57,7 +57,7 @@ impl HeightIndex {
let mut index = index + 1;
while index <= self.tree.len() {
self.tree[index - 1] = self.tree[index - 1] - before + after;
- index += (index & index.wrapping_neg());
+ index += index & index.wrapping_neg();
}
}
fn containing(&self, row: usize) -> usize {