SquidDev-CC / mbs

A Mildly Better Shell for ComputerCraft
MIT License
57 stars 9 forks source link

Issues with multishell #36

Open RGFTheCoder opened 3 years ago

RGFTheCoder commented 3 years ago

MBS works when opening a multishell, but breaks if the tabs go away. Opening bg help and then closing help by tapping a key sets the input out of bounds. A sleep(4) program causes the input to be in the MOTD. image

Lupus590 commented 3 years ago

Screenshot (40) Also, when closing the tab. But was fine if I opened a second tab and closed both (leaving just the original shell).

Tested in Copy Cat, MBS installed a few days ago.

erisdev commented 3 years ago

Quick fix for the crash. Just change that line to this:

    -- Update the delegate window.
    if delegate then delegate.reposition(1, 1, sizeX, sizeY) end

Haven't investigated the other issue yet.

hugeblank commented 1 year ago

Another issue I've found related to multishell: you cannot use fg or bg in any directory besides /. The new tab crashes with a "No such program" error

SquidDev commented 1 year ago

Ahh, that one was an easy fix :)