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

Feature Request - Add the possibility to add padding for the output #867

Closed
MadHatterENV opened this issue Dec 25, 2023 · 2 comments
Closed

Comments

@MadHatterENV
Copy link

Is your feature request related to a problem? Please describe.
selecting text etc .. are not always possible, due to the text sticking to the uttermost leftside of the screen.

Describe the solution you'd like
Add somewhere the possibility to add some additional space (pixels) between the first letters of output.
It will be visual appealing but also more usefull when selecting the text from left to right.

2023_12_24--115800_Window

As you can see, i've added a screenshot where the prompt is a bit more indented.
But that has been done in my .bashrc file where my PS1 CLI is configured, the padding should also be for the rest of the output.

Kind Regards.

@egmontkob
Copy link

selecting text etc .. are not always possible

This is not true. You can always start selecting text at the left half of the leftmost character cell. It might be a bit inconvenient, too narrow to position your mouse, but possible.

Anyway. To increase the default padding of 1px, place something like this in your ~/.config/gtk-3.0/gtk.css

vte-terminal {
    padding: 1px 1px 1px 10px;
}

and restart Terminator.

@FernandoBasso
Copy link
Contributor

I use the same solution. My $HOME/.config/gtk-3.0/gtk.css looks like this:

/**
 * Works for Gtk and VTE-based terminal emulators..
 */
vte-terminal,
terminal-window {
  padding: 8px 8px 8px 8px;
  -vte-terminal-inner-border: 12px 12px 18px 12px;
}

I don't remember why I have the inner border setting thing 😅, but it was probably necessary at some point or for some other terminal.

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

No branches or pull requests

4 participants