This commit is contained in:
+3
-1
@@ -120,6 +120,9 @@ test.*
|
||||
*.py
|
||||
# 屏蔽其它文件
|
||||
/*.md
|
||||
/*.htm
|
||||
/*.html
|
||||
/test*.*
|
||||
# 过滤readme和配置文件
|
||||
!readme.md
|
||||
/破甲提示词
|
||||
@@ -169,4 +172,3 @@ test.*
|
||||
|
||||
# 敏感凭证(禁入git)
|
||||
account.json
|
||||
|
||||
|
||||
@@ -491,7 +491,8 @@ public class CustomScreenManager implements Listener {
|
||||
for (int pi = 1; pi + 1 < pages.size(); pi++) {
|
||||
String cur = pages.get(pi);
|
||||
String nxt = pages.get(pi + 1);
|
||||
if (cur.length() < 50 && (cur.length() + nxt.length() + 1) <= 165) {
|
||||
// 15m16 放宽中间孤短页合并: 上限165→175, 阈值50→55(治"残句刚好50字合不了")
|
||||
if (cur.length() < 55 && (cur.length() + nxt.length() + 1) <= 175) {
|
||||
pages.set(pi + 1, cur + "\n" + nxt);
|
||||
pages.remove(pi);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user