提交 dc500486 编写于 作者: M Manish Jayaswal

fix a host of isues with reset: #4121, #4125 and #4277

上级 f56765df
......@@ -334,6 +334,12 @@ private void PendSubmissions(IEnumerable<PendingSubmission> inputs)
public void AddInput(string command)
{
// If the language buffer is readonly then input can not be added. Return immediately.
if (_window._currentLanguageBuffer != null && _window._currentLanguageBuffer.IsReadOnly(0))
{
return;
}
if (State == State.ExecutingInput || _window._currentLanguageBuffer == null)
{
AddLanguageBuffer();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册