mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 16:00:58 +00:00
fix(tui): document kill ring and reset history
This commit is contained in:
parent
505894f4ea
commit
18d9d9d704
4 changed files with 10 additions and 0 deletions
|
|
@ -1565,6 +1565,7 @@ export class Editor implements Component, Focusable {
|
|||
* Insert text at cursor position (used by yank operations).
|
||||
*/
|
||||
private insertYankedText(text: string): void {
|
||||
this.historyIndex = -1; // Exit history browsing mode
|
||||
const lines = text.split("\n");
|
||||
|
||||
if (lines.length === 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue