Fix #4168: make current tab appear at bottom

This commit is contained in:
Oliver Blanthorn 2022-04-04 18:21:29 +02:00
parent 56d4427418
commit 2f19842820
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -173,6 +173,8 @@ export class BufferCompletionSource extends Completions.CompletionSourceFuse {
const useMruTabOrder = config.get("tabsort") === "mru"
if (!useMruTabOrder) {
tabs.sort((a, b) => a.index - b.index)
} else {
tabs.push(tabs.shift()) // If using MRU, move the current tab to the bottom (issue #4168)
}
const container_all = await browserBg.contextualIdentities.query({})