hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Terminal has padding at the bottom of the window

Open jeanvanwyk opened this issue 5 years ago • 8 comments

  • [ ] I am on the latest Hyper.app version
  • [x] 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

jeanvanwyk avatar May 10 '19 00:05 jeanvanwyk

I am having the same issue

arthurmloureiro avatar May 10 '19 11:05 arthurmloureiro

here as well Screen Shot 2019-05-11 at 2 47 15 pm

DavidHe1127 avatar May 11 '19 04:05 DavidHe1127

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.

ns-mkwong avatar May 21 '19 22:05 ns-mkwong

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

jeanvanwyk avatar May 23 '19 23:05 jeanvanwyk

This control-L trick does not work for me. The padding is getting worst and worst. Basically impossible to edit any sort of file via this terminal. Capture

arthurmloureiro avatar May 24 '19 15:05 arthurmloureiro

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.

zjr avatar Jul 20 '19 23:07 zjr

My issue may also be related to this. Load neovim ( or vim ), then resizing the window leaves dead space, even after a :redraw! command.

Hyper 3.0.1 and Windows 10

damca avatar Apr 28 '20 01:04 damca

Screen Shot 2022-08-07 at 11 33 44 PM Same issue even with 0px padding

davidc360 avatar Aug 08 '22 03:08 davidc360