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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user