rickgbw / hyperterm-overlay Goto Github PK
View Code? Open in Web Editor NEWA complete and customizable solution for a overlay window in your Hyper.app
License: MIT License
A complete and customizable solution for a overlay window in your Hyper.app
License: MIT License
Great job with the plugin — I was wondering, is it possible to add a unique class to the overlay window so that we can apply custom CSS? Something to consider.
Before trying out HyperTerm and the overlay plugin, I was a user of Guake terminal. One neat feature is that when the overlay term is closed (for example when typing Ctrl+D), it automatically restarts so that the overlay is always present.
This isn't the case with HyperTerm-overlay and it would be awesome to be able to close the overlay without having to restart hyperterm. (additionally, triggering a full reload of hyperterm doesn't seem to restart an overlay, is this intentional ?)
I'm using Linux and HyperTerm 0.7.1.
Hi, I'm hyperterm-overlay user and use it fullscreen. Recently, hypeerterm-overlay don't work well whenever it minimize hyper ,also other MacOS machine, same version. Also, hyper freeze at a moment
for a short time. Do you have peeple of the same situation?
Hello, When opened multiple tab, native left control is disabled.
screen .
Thx
Reading the documentation, I thought that this plugin supports only mac OS but I see also this issue #23 and I don't know anymore…
Do you support Gnome environment ?
bundle.js:1 No package.json found in /Users/antonionogueras/.hyper_plugins/node_modules/hyperterm-overlay
Using mac. Everything is set correctly as it is shown on the npm page.
It would be awesome to have an option to start Hyperterm Overlay only, without forcing the overlay to be the only window.
A possible way this would work :
This would only be if a particular option is set of course.
Can a width be added? I have a ultra widescreen monitor and I don't need the terminal to be that long.
Currently, there are 4 possible positions (top
, right
, bottom
, left
) and 1 parameter (size
) to control the size of the window.
size
is used to control either the width of the window or its height depending on where it's positioned. If the position is top or bottom, it controls the height. If it's left or right, it controls the width. This is done in the function _endBounds
It would be awesome to introduce the positions topLeft
, topRight
, bottomLeft
and bottomRight
and the parameters width
and height
to give much more control over the window's size and position.
Here a few bullet points to explain a bit what I have in mind :
With the hyper window is configured to be in one of those new position, the values of width
and `height will simply control the width and height of the window. They will both be used.
When the hyper windows is configured to be in one of the currently existing positions, either width
or height
will be ignored depending on which position it is. As an example, when the position top is used, the width configuration value is ignored and the window's width will be set to the maximum.
Keeping a retro-compatibility with size
can be done. It is just a matter of loading size
into either width
or height
depending on the position and if the value doesn't already exist. Still, with a change like this, size
should become deprecated and eventually be deleted.
These few points can be summarized like this :-)
Position | height |
width |
size |
---|---|---|---|
top | ✅ | 🔴 | height = size |
topRight | ✅ | ✅ | 🔴 |
right | 🔴 | ✅ | width = size |
bottomRight | ✅ | ✅ | 🔴 |
bottom | ✅ | 🔴 | height = size |
bottomLeft | ✅ | ✅ | 🔴 |
left | 🔴 | ✅ | width = size |
topLeft | ✅ | ✅ | 🔴 |
A possible evolution would be to enable both width
and height
for the 4 existing position and consider that the window should be centered with 2 margins. I wouldn't be a big step from what I've just described but I think that it's going a bit too far and it would be possible to add that later.
With this idea, the default configuration would then go from this :
overlay: {
position: 'top',
size: 0.4,
},
To either on of the following 3 since they are equivalent :
overlay: {
position: 'top',
height: 0.4,
},
overlay: {
position: 'topLeft',
height: 0.4,
width: 1.0,
},
overlay: {
position: 'topRight',
height: 0.4,
width: 1.0,
},
Hi, in Windows focus is not switching back to previous application after hiding hyper with hyperterm-overlay. No window is focused.
Tried with animation true/false, with vanilla hyper+hyperterm-overlay.
Tested on Windows 7 and Windows 10.
On Linux it works fine.
As i came to realise by looking at your awesome plugin, is that electron is actually overwriting how require works, vercel/hyper#398 (comment)
This means that you have no need to have electron
in the package.json
💥
Closing a tab using the exit
command breaks remaining tabs in that input isn't repeated back when typed. Also new tabs don't spawn shells.
Steps to reproduce:
exit
In pic below left tab was before exit
, tab on the right was spawned afterwards. Right tab doesn't have a prompt to input commands (only cursor).
Hyper.js: v1.3.1
Hyperterm-overlay: v0.4.0
Steps to reproduce:
Expected outcome: text should have been output to the console according to the width of the window it is displayed on
Actual outcome: text is confined to a narrow column on the left of the window
Any text that is output whilst the console is not hidden continues to be displayed correctly - it is only an issue for the period of time that the console is hidden
Not sure if this will make any difference but I am running with dual displays and usually display hyperterm overlay on the right hand monitor
Hi - from a fresh reboot on Windows 10, hitting my hotkey does nothing - until I manually start Hyper for the first time. Is that expected? (Not a biggie, just checking if that is intended or not).
This morning I've come back to my laptop and when I hit the hotkey, an additional Hyper opens at the top of the screen. The original one isn't affected by the hotkey.
These are my settings:
overlay: {
animate: true,
alwaysOnTop: true,
hasShadow: true,
hideOnBlur: true,
hideDock: true,
hotkeys: ['Ctrl+`'],
resizable: true,
position: 'top',
primaryDisplay: true,
startup: true,
size: 0.4,
tray: true,
unique: true
}
If I ever accidentally close the last window, hitting the hotkey doesn't create a new hotkey window. Because I have hideDock
to true, I can't even closer Hyperterm and reopen it to get it back. I need to force quit from the Activity Monitor.
It would be nice to have it trigger overlay when I click the dock icon (not menubar). I know that I can press the menu bar or the hotkey, but this functionality could be useful for those with a habit to click the dock icon.
My configuration:
overlay: {
alwaysOnTop: true,
animate: true,
hasShadow: true,
hideDock: false,
hideOnBlur: true,
hotkeys: ['Control+Space'],
position: 'top',
primaryDisplay: false,
resizable: true,
startAlone: true,
startup: true,
size: 0.4,
tray: true,
unique: false
}
I'm running this in Ubuntu 16.10, when opening or closing the window just pops up like any other window rather than sliding up and down.
When initially opening Hyper—other than the fact that the terminal is blank until opening a new tab (this is addressed in another issue but +1 anyway)—the prompt appears fine, but sometimes when opening via global hotkey or via the menu bar icon, the bash prompt or any prompt will duplicate itself:
I installed this plugin on linux and it doesn't seem to work.
Additionally, the tray icon isn't practical to use. Clicking it shows a menu with one item 'open hyperterm overlay', instead of directly showing the overlay like in your gif.
If it isn't obvious on your first sight into the issues and pull requests list as well as the time it has been since @rickgbw last committed any code to this project, this project has clearly been deserted. I have therefore taken it upon myself to try and fix various issues (so far I have addressed / fixed #7, #14, #32, #33, #38, #39, #41, #42, #43 and #45).
You can find my fork here on npm or here on github
I'm on OSX Sierra. If I have a Hyper terminal open, but underneath another window (like the browser), when I press either the hotkey or the dock button, the normal Hyper window comes to the front of the screen at the same time that the overlay drops down. Pressing the button/hotkey again hides both.
I would think that the intended behavior would be for the overlay hotkeys/buttons to only ever activate/deactivate the overlay terminal, regardless of whether or not other terminals are present.
Hello,
The terminal output disappears after hiding then showing the overlay.
Is it expected?
Comments on how to do this can be found here vercel/hyper#398
This problem went away on restarting the application.
OS: Ubuntu 16.04
hyperterm-overlay: 0.4.0
hyperterm: 1.3.1
How do you start Hyper with just the overlay window (not also a Hyper window created at the same place). The documentation suggested making "startup": true
and startAlone: true
but still get a Hyper window.
This is great to see! But would love to see an option to configure the speed that the overlay hides/shows
I get the messsage "An error occured in your configuration: Unexpected Identifier" when I copy the config from the ReadMe. Unsure what's going on.
I have hyperterm overlay installed, and set to hide the dock icon, it works great with the exception of the HyperTerm menu not displaying in my computers menu bar when terminal is in focus.
Typically, without the overlay extension, when I would use HyperTerm it would display a menu in the menu bar with options to reload apps, preferences, help, etc... Now with overlay it does not display when I am working in the terminal. Overlay is the only plugin I have, and here are my configured options -
overlay: {
animate: true,
alwaysOnTop: false,
hasShadow: false,
hideOnBlur: false,
hideDock: true,
hotkeys: ['Option+Space'],
resizable: true,
position: 'right',
primaryDisplay: false,
startup: true,
size: .25,
tray: true,
unique: true
}
Thanks so much for the plugin!
The title says it all 😊
Not sure if this is possible, but would be very useful. Using full-screen apps on OSX 10.11.4. Maybe, if it isn't possible to prevent the change in window focus, it would be possible to "blur" window focus back to the previous active application?
OS: Ubuntu 16.04
hyperterm-overlay: 0.4.0
hyperterm: 1.0.0
Option+Space
doesn't work but when I change it to CommandOrControl+Shift+Z
it works great! I'm not sure what the issue is. It doesn't seem to be a system wide hotkey.
Hyper's GUI is literally permanently hidden unless the plugin is installed.
Even after a clean install, I am unable to use the application.
Pls bro I don't want to have to use iterm2
https://drive.google.com/file/d/1lRUuX3DXv6UOl933i6g0U5n6Ky4aUA1Z/view?usp=sharing
I can't add many details about it, but sometimes the global shortcut stops and the overlay does not work, so I need close and open Hyperterm to enable it again. A tiny detail is that when this behavior happens, the tray icon disappear.
Hyperterm Version: 0.7.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.