mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-22 20:34:26 +00:00
commit
6013e43933
@ -122,7 +122,6 @@ func (context *clientContext) sendInitialize() error {
|
|||||||
|
|
||||||
titleBuffer := new(bytes.Buffer)
|
titleBuffer := new(bytes.Buffer)
|
||||||
if err := context.app.titleTemplate.Execute(titleBuffer, titleVars); err != nil {
|
if err := context.app.titleTemplate.Execute(titleBuffer, titleVars); err != nil {
|
||||||
context.writeMutex.Unlock()
|
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if err := context.write(append([]byte{SetWindowTitle}, titleBuffer.Bytes()...)); err != nil {
|
if err := context.write(append([]byte{SetWindowTitle}, titleBuffer.Bytes()...)); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user