build 1176 - overlapped terminal draft, evolution
Posted: Tue Jul 28, 2015 5:41 am
Hi everybody!
I've done some interesting stuff with terminal integration:
http://filesmanager.info/downloads/prev ... (1176).zip
Files now tries to guess what is entered within Bash shell. Based on this information, next steps can be made:
- when you hitting Enter with something entered in Bash - it will execute it (simply pass Enter keycode to child process)
- when you hitting ctrl+alt+enter Files will paste current filename (or of the last active panel) to shell
- if this item is executable and shell input is clean - Files will prefix it with "./"
- when shell is clean and overlapped terminal is shown, hitting Enter on executable item will run it in overlapped terminal
Additionally, when overlapped terminal's shell runs something long lasting - Files will automatically hide file panels and show them again when task is finished. For example - if you hit "top" in /usr/bin/, it will show top's content in full window and return to file panels when you quit it with 'q'.
Also, terminal now animates cursor when active and changes it's view when becomes inactive.
Feedback appreciated, as always.
Mike.
I've done some interesting stuff with terminal integration:
http://filesmanager.info/downloads/prev ... (1176).zip
Files now tries to guess what is entered within Bash shell. Based on this information, next steps can be made:
- when you hitting Enter with something entered in Bash - it will execute it (simply pass Enter keycode to child process)
- when you hitting ctrl+alt+enter Files will paste current filename (or of the last active panel) to shell
- if this item is executable and shell input is clean - Files will prefix it with "./"
- when shell is clean and overlapped terminal is shown, hitting Enter on executable item will run it in overlapped terminal
Additionally, when overlapped terminal's shell runs something long lasting - Files will automatically hide file panels and show them again when task is finished. For example - if you hit "top" in /usr/bin/, it will show top's content in full window and return to file panels when you quit it with 'q'.
Also, terminal now animates cursor when active and changes it's view when becomes inactive.
Feedback appreciated, as always.
Mike.