question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Terminal has padding at the bottom of the window

See original GitHub issue
  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 10 Enterprise 10.0.17143 Build 17134
  • Hyper.app version: 3.0.2
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/jeanvanwyk/6bf2dfc5e66cb949841a9d6dffe6132d
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

The terminal behaves as if it has a padding-bottom of about 75-80 pixels when the screen gets full (class term_fit term_term is offset from jsx-3579199521 term_fit term_active but has no actual padding or offset). This is reflected in two behaviours:

  • Firstly all the text and the scrollbar is about 75-80 pixels from the bottom in anything longer than a page (webpack, less etc.)
  • Secondly the “top” of the terminal (eg. less) is 75-80 pixels above the top of the window. (That is to see the top of the file I am opening with less I need to scroll up 75-80 pixels.)

Some behaviour like calling clear “resets” the correct behaviour until you switch tabs.

Might be similar to issue #3634 but no resizing involved

To reproduce:

  • Open git bash (2.17.0) in a tab (See config)
  • use less to open a file that is longer than the screen (behaves correctly)
  • Click to another tab
  • Go back to the tab
  • Now has “padding” / “offset”

Thanks for a useful app.

Screenshot

Example showing node and webpack

hyper

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:6
  • Comments:8

github_iconTop GitHub Comments

2reactions
jeanvanwykcommented, May 23, 2019

Sorry, this is “the” major issue that I have to switch back to hyper 2 and disable the autoupdate with /etc/hosts, as I run git log/diff daily and hit this problem.

There is a slight “hack” that might improve your experience a bit. Control-L translates to the clear command. The clear command resets the terminal in some way so that it has no padding

This means that my workflow is Control-L git diff, Control-L git log, Control L less file. I still would REALLY like it to get fixed for those times I forget to do Control-L something

1reaction
zjrcommented, Jul 20, 2019

I also have this problem with fish shell, hyper puts padding at the top and right of the window, shifting the top of the text out of frame at times.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to remove bottom padding · Issue #6021 - GitHub
Run any app, such as byobu, that draws a horizontal bar at the bottom of the terminal to gauge the size of the...
Read more >
xfce4-terminal has bottom padding in terminal : r/xfce - Reddit
So, I'm using xfce4-terminal and there seems to be a padding issue at the bottom where no matter what (htop, vim, tmux, etc.)...
Read more >
Annoying extra white space at bottom of terminal windows ...
Anyone have any idea? When the terminal windows are small, like when i float a window. then the extra white space are gone...
Read more >
Can I position the current line in the Windows Terminal a few ...
Sounds like you are looking for the "padding" setting, which can be applied at the "profiles" level, either for a particular profile, ...
Read more >
vim/nvim not filling windows terminal - Stack Overflow
This does not appear to be an issue with NVim. The Windows Terminal simply has padding on all the sides of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found