Release v0.7.27

- Fix slash command submission requiring two Enter presses (#30)
- Fix slash command autocomplete not re-triggering after typos (#29)
This commit is contained in:
Mario Zechner 2025-11-20 18:56:27 +01:00
parent 3655ce74f1
commit e694d435fd
12 changed files with 189 additions and 151 deletions

View file

@ -150,8 +150,6 @@ export class TUI extends Container {
// Find first and last changed lines
let firstChanged = -1;
let lastChanged = -1;
const maxLines = Math.max(newLines.length, this.previousLines.length);
for (let i = 0; i < maxLines; i++) {
const oldLine = i < this.previousLines.length ? this.previousLines[i] : "";
@ -161,7 +159,6 @@ export class TUI extends Container {
if (firstChanged === -1) {
firstChanged = i;
}
lastChanged = i;
}
}