mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-21 21:32:13 +01:00
fix null screen bug
This commit is contained in:
parent
bfe8ee1c02
commit
4aa2bab06e
@ -1510,7 +1510,9 @@ func (msh *MShellProc) handleCmdDonePacket(donePk *packet.CmdDonePacketType) {
|
||||
msh.WriteToPtyBuffer("*error trying to update cmd-fg screens: %v\n", err)
|
||||
// fall-through (nothing to do)
|
||||
}
|
||||
update.Screens = []*sstore.ScreenType{screen}
|
||||
if screen != nil {
|
||||
update.Screens = []*sstore.ScreenType{screen}
|
||||
}
|
||||
rct := msh.GetRunningCmd(donePk.CK)
|
||||
var statePtr *sstore.ShellStatePtr
|
||||
if donePk.FinalState != nil && rct != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user