mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-12 10:47:05 +02:00
lp.Println() should act live fmt.Println()
also use a dedicated error type for signalining perm denied
This commit is contained in:
@@ -202,8 +202,8 @@ func (self *Loop) KillIfSignalled() {
|
||||
}
|
||||
|
||||
func (self *Loop) Println(args ...any) {
|
||||
self.QueueWriteString(fmt.Sprint(args...))
|
||||
self.QueueWriteString("\r\n")
|
||||
self.QueueWriteString(fmt.Sprintln(args...))
|
||||
self.QueueWriteString("\r")
|
||||
}
|
||||
|
||||
func (self *Loop) SprintStyled(style string, args ...any) string {
|
||||
|
||||
Reference in New Issue
Block a user