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

Already on GitHub? Sign in to your account

Make an input command box on the console #83

Open
cawoodm opened this Issue Dec 18, 2012 · 1 comment

Comments

Projects
None yet
2 participants

cawoodm commented Dec 18, 2012

On the Executing Shell Commands https://github.com/scripted-editor/scripted/wiki/Executing-Shell-Commands page there is a screenshot of a console which looks like it has a command input box. I want this.

  1. I have no input box when I open the console - just white nothingness
  2. When I run an exec command (e.g. afterSave) I get an input box looking thingy which doesn't take any input because it's a div (<div class="command">dir</div>)

2012-12-18_2037

Member

kdvolder commented Dec 18, 2012

I agree, it seems like logical next step to add a place where you can type commands to execute.

In terms of UI design, a somewhat open question before we can do this is, what directory does the command execute in? Similarly: do we need some UI widgetry to display and change the working directory? What should this look like?

For on-save and exec-keys commands specified in .scripted, the .scripted file specifies the working dir for each command. So we need something similar for commands typed into the textbox.

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