Akuli / porcupine

A decent editor written in tkinter
MIT License
143 stars 46 forks source link

Move focus to command output when running a program #1496

Open ethical-haquer opened 2 months ago

ethical-haquer commented 2 months ago

Alt+Shift+C can be pressed to focus the output area, but I think the output area should be focused automatically when a program is run. Especially if it's a CLI program, it's annoying to not have the output selected already.

Akuli commented 2 months ago

Seems good, but it would be also nice to focus the file being edited if you press Esc in the output area. While there is a separate key binding for it (Alt+Shift+F), pressing Esc is probably the user's first instinct for getting "out of" the command output.