mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-02 07:35:47 +01:00
Deal with some Buffer.findScrollable corner cases.
--HG-- extra : rebase_source : 6acbaac21f3098ab357ceddcd796e6566a61a6d9
This commit is contained in:
@@ -675,7 +675,7 @@ unlet s:cpo_save
|
||||
lines.__defineGetter__("last", function () this[this.length - 1]);
|
||||
|
||||
for (let item in (isArray(items) ? array.iterValues : iter)(items)) {
|
||||
if (item.length > width && (!lines.length || lines.last.length)) {
|
||||
if (item.length > width && (!lines.length || lines.last.length > 1)) {
|
||||
lines.push([prefix]);
|
||||
width = WIDTH - prefix.length;
|
||||
prefix = " \\ ";
|
||||
|
||||
Reference in New Issue
Block a user