aboutsummaryrefslogtreecommitdiffstats
path: root/c_litems.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c_litems.go28
1 files changed, 14 insertions, 14 deletions
diff --git a/c_litems.go b/c_litems.go
index 5e8a1a9..03c2ae1 100644
--- a/c_litems.go
+++ b/c_litems.go
@@ -43,7 +43,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* hardflip: src/c_litems.go
- * Tue Jan 09 10:51:22 2024
+ * Wed Jan 10 11:30:12 2024
* Joe
*
* the dir and hosts linked list
@@ -164,19 +164,19 @@ func (litems *ItemsList) inc(jump int) {
new_item = new_item.prev
}
}
- for jump > 0 &&
- new_item.folded_parents() == true &&
- new_item.next != nil {
- new_item = new_item.next
- }
- for jump < 0 &&
- new_item.folded_parents() == true &&
- new_item.prev != nil {
- new_item = new_item.prev
- }
- if new_item == litems.last && new_item.folded_parents() == true {
- return
- }
+ // for jump > 0 &&
+ // new_item.folded_parents() == true &&
+ // new_item.next != nil {
+ // new_item = new_item.next
+ // }
+ // for jump < 0 &&
+ // new_item.folded_parents() == true &&
+ // new_item.prev != nil {
+ // new_item = new_item.prev
+ // }
+ // if new_item == litems.last && new_item.folded_parents() == true {
+ // return
+ // }
litems.curr = new_item
}