-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hyperlayout simply printing out config #8
Comments
I'm not entirely sure why it prints out the config. Are you sure you have If that issue is fixed it still fails since the config is not correct. It should look like this: {
"p2lab": [
"gitsub-dir && cd experimental/p2lab",
[[
"gitsub-dir && cd experimental/p2lab && yarn run watch",
"gitsub-dir && cd experimental/p2lab && yarn run serve-dev"
]]
]
} Since you set the entry point to |
Ok I understand the syntax now. I also had a trailing comma which should have blown it up. I'm using what you have posted there and it manipulates the tabs, but not so well. I've simplified the config so that we can see what is going on, and included screenshots of the result below. Note that I am using {
"layout-test": [
"echo one",
[["echo two", "echo three"]]
]
} |
Weird. Can't really tell why this happens – I need to test this myself on a linux machine. Does a single tab config work for you? It looks like pane-splitting is causing some issues. [[
"echo 1",
"echo 2"
]] $ hyperlayout |
Okay, thanks for your help! I will try to reproduce this bug, once I get my hands on a linux machine. |
This is happening to me currently after a fresh install of Hyper on MacOS Sierra. |
@kevingelion The thing with the config-printing or commands not executing? |
The config is just printed and nothing happens. Here's my config:
|
@kevingelion Is this still an issue, or has this been resolved in #9? |
@timolins unfortunately still an issue |
Are you using Hyper.app? I could imagine that this happens with Hyperterm. |
Okay, I think I got the same issue since Hyper 1.0, so I was able to look into it & fix it. 🎉 At least it works for me again. Can someone confirm this? |
@kevingelion @WoodyWoodsta |
So I actually noticed now that, even with your example |
Updated hyperlayout and hyper and tried the simple test as below:
It's still splitting the window correctly, but both commands are being run in the first pane. Edit: |
Great! 👍 Does anyone of you remeber why the original Issue (Printing out the raw config) happend? Still seems to be a problem according to #12 |
Unfortunately I did not get to the bottom of that. If I had the time, I would dig into the module and try and find out |
I have a fix which I could test on my Windows 10 machine. I'll submit a PR and then someone else can test it on a Mac/Linux :) Submitted Add more robust method to retrieve config JSON from the terminal |
I accidentally added a broken linked to the PR but fixed it now. |
I've had the same issue (printing the config) and restarting Hyper fixed the issue |
I have currently the issue (printing the config). Windows 7 SP1 ~/.hyperlayout ❯ hyperlayout
|
I can replicate the "printing out config" issue on Windows 7, by typing hyperlayout right after installing the plugin. After restarting hyper though it's gone. I still have trouble getting hyperlayout to work though... after typing hyperlayout the window just freezes, and dev tools throws a syntax error about unexpected token in JSON. edit |
Also fixed by implementing this #16 by hand. Would be nice to get that merged. edit |
The original issue seems solved. Is this still that? |
Still happening on Windows 7 x64 with Hyper 2.0.0 - the same |
I have the same issue, Windows 10 Hyper 2.0.0. When I run My .hyperlayout file is very simple
|
Same Issue with Hyper v3 |
Hyper version: 1.0.0
OS: Linux (elementary OS Loki)
I have the following in my
./.hyperlayout
(a bit verbose, but I intend to add more to it in the future):When I run
hyperlayout p2lab
, it simply prints out:... and does not effect the defined layout. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: