←  Ask a Pro

ComputerCraft | Programmable Computers for Minecraft

»

Close multishell tabs automatically?

TheZen's Photo TheZen 29 May 2020

Multishell tabs will finish a program then say "press any key to continue..."
I want to skip the press any key to continue part.
Quote

Lupus590's Photo Lupus590 29 May 2020

It doesn't seem to be a thing that you can prevent from what I know by looking at both wikis. But you could easily make a contribution and add a setting line "multishell.auto_close_tabs".
Quote

Luca_S's Photo Luca_S 29 May 2020

If you do end up changing multishell, this is the line you need to modify. You should probably also document that setting somewhere.
Quote

qwerty's Photo qwerty 10 Jun 2020

 Luca_S, on 29 May 2020 - 02:02 PM, said:

If you do end up changing multishell, this is the line you need to modify. You should probably also document that setting somewhere.

QQ - could one hypothetically attach
tProcess.bInteracted = true
to a
 corutine.yield() 
Now I'm not an expert by any stretch of the word and am even less antiquated with the various bugs with the event system but my monkey brain believes this to be possible...
Quote

Luca_S's Photo Luca_S 10 Jun 2020

 qwerty, on 10 June 2020 - 06:25 PM, said:

Now I'm not an expert by any stretch of the word and am even less antiquated with the various bugs with the event system but my monkey brain believes this to be possible...
What do you mean? If you want to add a setting as described by Lupus you would just add an "and not settings.get("multishell.auto_close_tabs", false)" to the condition of the if.
Quote

qwerty's Photo qwerty 10 Jun 2020

 Luca_S, on 10 June 2020 - 09:07 PM, said:

 qwerty, on 10 June 2020 - 06:25 PM, said:

Now I'm not an expert by any stretch of the word and am even less antiquated with the various bugs with the event system but my monkey brain believes this to be possible...
What do you mean? If you want to add a setting as described by Lupus you would just add an "and not settings.get("multishell.auto_close_tabs", false)" to the condition of the if.
k, cool. i might be mentally handicapped because I allways over engineer even the simplest of solutions, kinda like the code responsible for the two team color splat on cosmetics in 'Team Defense Fort Two'
Edited by qwerty, 10 June 2020 - 09:33 PM.
Quote