hyperterm-overlay icon indicating copy to clipboard operation
hyperterm-overlay copied to clipboard

Width

Open vanor89 opened this issue 8 years ago • 3 comments

Can a width be added? I have a ultra widescreen monitor and I don't need the terminal to be that long.

vanor89 avatar Jun 08 '17 21:06 vanor89

@CarlosV89 Did you try to use the position 'left' or 'right' ? If you use the positions left or right the param size will control the width of the window and not its height.

Or do you wish to control both the height and width of your hyper window ?

EDIT: I've opened #33 if you were thinking of the latter

gattazr avatar Jul 09 '17 20:07 gattazr

I also think the width should be customizable. The size attribute applies only to height

TheDan64 avatar Mar 25 '18 02:03 TheDan64

The size config property actually applies 1 value to both height and width at the same time

https://github.com/rickgbw/hyperterm-overlay/blob/ce8c570eb6af150ecd6526d2d6eaf1dd9b936b67/overlay.js#L231-L239

I have changed the size settings to an object in my fork hyper-overlay so now it is like:

      size: {
        width: 0.4,
        height: 0.4
      },

Conclusion: Fixed as per v1.1.0 of my fork. Specific commit is here

favna avatar Jun 28 '18 00:06 favna