[ci skip] rebuild patches

This commit is contained in:
Jake Potrebic 2023-03-23 14:57:03 -07:00
commit 0adc18baf8
60 changed files with 1113 additions and 1197 deletions

View file

@ -397,9 +397,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
if (offers == null) {
- return cursor;
+ return; // Paper - Method returns void
}
- candidates.addAll(offers);
+ }
+
+ // Paper start - JLine update
+ for (String completion : offers) {
+ if (completion.isEmpty()) {
@ -407,9 +406,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ }
+
+ candidates.add(new Candidate(completion));
+ }
}
- candidates.addAll(offers);
+ // Paper end
+
+ // Paper start - JLine handles cursor now
+ /*
final int lastSpace = buffer.lastIndexOf(' ');