mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 14:05:11 +00:00
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:
parent
3655ce74f1
commit
e694d435fd
12 changed files with 189 additions and 151 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue