mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 15:04:50 +02:00
API to set the text at the prompt
This commit is contained in:
@@ -258,6 +258,10 @@ func (self *Readline) AllText() string {
|
||||
return self.all_text()
|
||||
}
|
||||
|
||||
func (self *Readline) SetText(text string) {
|
||||
self.set_text(text)
|
||||
}
|
||||
|
||||
func (self *Readline) MoveCursorToEnd() bool {
|
||||
return self.move_to_end()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user