mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-25 16:20:01 +00:00
[stage]
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -34,9 +34,9 @@ public class AskpassAlert {
|
||||
}
|
||||
|
||||
var lines = prompt.lines().count();
|
||||
if (lines > 10) {
|
||||
prompt = String.join("\n", prompt.lines().toList().subList(0, 10)) + "\n...";
|
||||
lines = 11;
|
||||
if (lines > 13) {
|
||||
prompt = String.join("\n", prompt.lines().toList().subList(0, 13)) + "\n...";
|
||||
lines = 14;
|
||||
}
|
||||
|
||||
var prop = new SimpleObjectProperty<>(secretValue);
|
||||
|
||||
Reference in new issue
Block a user