Skip to content

Improve the Text edit controls for Shell commands #566

Description

@XXXBold

Is your feature request related to a problem? Please describe.
Not really a problem, but an inconvenience. If I want to use longer/more complex pre/post backup shell commands, the content gets lost very quick due to the single-line text control.

For Excample, the commandline I have now looks like this:
tar -cjf "$(dirname "$repo_url")/($profile_name)_vortabackup.tar" -C "$(dirname "$repo_url")" "$(basename "$repo_url")"

I will probably make it longer, but it's barely readable already (With the default window size, without expanding the window, but that will not solve, only delay the problem when it gets longer).

Describe the solution you'd like
Change the single-line text control to multiline.

Implementation Example
Show a single line as default option (as it's now) when no shell command is present.
If the user edits the commandline and hits the return key, expand (grow) the control one line down. On the other hand, if the user deletes a complete line, shrink the control accordingly, so the control basically grows and shrinks with the text.

Describe alternatives you've considered

  • Use an external text edior to create the commandline and paste it
  • Create an external shellscript and call it from the builtin commandline.

The proposed feature is superior to the alternatives imho.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:planningFor large features, plan it out before implementationtype:enhancementImprovement of an existing function

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions