7f34cab5e5
pty.Getsize() is used in the Draw function of the terminal widget and wraps the pty.GetsizeFull() function. However, pty.Getsize does not check the returned error from pty.GetsizeFull before dereferencing the winsize struct. In case of an error, this will cause a nil pointer deference and panic. This has been reported in the upstream package, but in the meantime, we can directly use pty.GetsizeFull. References: https://todo.sr.ht/~rjarry/aerc/11 Signed-off-by: Koni Marti <koni.marti@gmail.com> |
||
---|---|---|
.. | ||
account-wizard.go | ||
account.go | ||
aerc.go | ||
common.go | ||
compose.go | ||
dirlist.go | ||
exline.go | ||
getpasswd.go | ||
headerlayout.go | ||
msglist.go | ||
msgviewer.go | ||
pgpinfo.go | ||
providesmessage.go | ||
selector.go | ||
spinner.go | ||
status.go | ||
tabhost.go | ||
terminal.go |