Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler only compiles in tty0 #110

Open
wchill opened this issue May 8, 2015 · 0 comments
Open

Compiler only compiles in tty0 #110

wchill opened this issue May 8, 2015 · 0 comments

Comments

@wchill
Copy link
Contributor

wchill commented May 8, 2015

Currently, upon compilation, the code from the editor is sent to tty0 and then gcc is run.
While this isn't a huge problem, it does affect usability, as if a user has the second terminal active and then attempts to compile their code, despite the status messages, it will appear as if nothing has happened (while in fact it has all happened on the first terminal). In addition, if a program is running on the first terminal, it will be killed in the process, which might have undesirable results.

Simple fix is to have the compilation process happen on the active terminal device, not just tty0. Optionally, have a dropdown to select which terminal device to compile on, with the default being the active terminal.

It might also be worthwhile to give programs different names when compiled (eg. on tty0 name it program0, on tty1 name it program1). The reasoning is that if I am running a program on tty0 and need to recompile the program on tty1 and then rerun the program on tty0, I either need to remember to rename tty0's program beforehand or recompile tty0's program as well, since it will get overwritten in the compilation process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants