Hyper: Always hide scrollbar

Created on 7 Dec 2017  路  1Comment  路  Source: vercel/hyper

  • OS version and name: Arch Linux
  • Hyper.app version: Canary
  • No Plugins installed

Issue

Is there a way to disable the scrollbar completely?
Don't get me wrong, it is working great, but I don't need it because I am more the keyboard guy 馃槃

thanks ;)

Most helpful comment

add

// custom CSS to embed in the main window
css: '.xterm-viewport { overflow: hidden !important; }',

to your .hyper.js

It will not disable the scroll since the scroll is simulated in xterm2 (used in canary), so this will just make the virtual scroll layer not show the faked scrollbar 馃憤

You could make a plugin for this and add it to https://github.com/bnb/awesome-hyper, it's a good first plugin that will get you familiar with the plugin API and how Hyper works under the hood 馃槉 If you want help getting started, let me know.

>All comments

add

// custom CSS to embed in the main window
css: '.xterm-viewport { overflow: hidden !important; }',

to your .hyper.js

It will not disable the scroll since the scroll is simulated in xterm2 (used in canary), so this will just make the virtual scroll layer not show the faked scrollbar 馃憤

You could make a plugin for this and add it to https://github.com/bnb/awesome-hyper, it's a good first plugin that will get you familiar with the plugin API and how Hyper works under the hood 馃槉 If you want help getting started, let me know.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juicygoose picture juicygoose  路  3Comments

ConstantinChirila picture ConstantinChirila  路  3Comments

ghost picture ghost  路  3Comments

aem picture aem  路  3Comments

cooperpellaton picture cooperpellaton  路  3Comments