mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 15:35:03 +02:00
Finish port of themes kitten to Go
This commit is contained in:
@@ -55,7 +55,9 @@ func (self *Readline) all_text() string {
|
||||
func (self *Readline) set_text(text string) {
|
||||
self.move_to_start()
|
||||
self.erase_chars_after_cursor(123456789, true)
|
||||
self.add_text(text)
|
||||
if text != "" {
|
||||
self.add_text(text)
|
||||
}
|
||||
self.move_to_end()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user