fix(tui): document kill ring and reset history
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
### Added
|
||||
|
||||
- Added `showHardwareCursor` getter and setter to control cursor visibility while keeping IME positioning active. ([#800](https://github.com/badlogic/pi-mono/pull/800) by [@ghoulr](https://github.com/ghoulr))
|
||||
- Added Emacs-style kill ring editing with yank and yank-pop keybindings. ([#810](https://github.com/badlogic/pi-mono/pull/810) by [@Perlence](https://github.com/Perlence))
|
||||
- Added legacy Alt+letter handling and Alt+D delete word forward support in the editor keymap. ([#810](https://github.com/badlogic/pi-mono/pull/810) by [@Perlence](https://github.com/Perlence))
|
||||
|
||||
## [0.48.0] - 2026-01-16
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user