-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add Windows support and first-class Linux support #946
Conversation
will we be able to run cmder inside of it? http://cmder.net/ |
OH S**T it's finally here |
Windows:
|
1: Ops, I forgot to write about that on the PR description. 1.1 Install VC++ Build Tools Technical Preview using the Default Install option This is necessary to build 2 and 3: I'll look into that 😄 4: Yeah, this happens when you're running in dev mode – it works as expected when you run the bundled application 😄 |
@luisrudge I don't think so 🤔 From what I understood, But you can use |
A few bugs I noticed:
A very good start! |
@matheuss Maybe using pty.js will fix the |
Really cool! But how do you guys make pty.js work on Windows! |
Looks great @matheuss 😃, just wanted to let you know some stuff about VS Code's situation so you're all aware:
Despite all these shortcomings, AFAIK it's the best option for all platforms which is why we're using it 😃. It's been on my backlog for a while to spend a sprint to clean up this situation as while many people are happy with the Windows experience, I find it frustrating jumping over from Linux which is so smooth. |
I followed the updated instructions in the pr description and by |
@jahe - What's your |
|
Getting the same error as @jahe and @factormystic.
|
@jasonmit You da man!!!!!!!! worked ! all we need is the arrow keys to register ;) |
@jcolesio microsoft/WSL#111 looks to be the source of the the arrow key issue |
|
When will there be a release windows version? |
In version 1.0.0. Likely coming in the next couple of weeks. cc/ @matheuss |
Oh my God, this is amazing. As a heavy user of cmder, I can't be happier that terminal innovation is coming to Windows. |
Its not working on Ubuntu 14.04.
|
@thekalinga 2. On windows you need to use :
|
I believe most terminals ctrl+a moves to the beginning of the line and ctrl+e moves to the end of a line see: |
I just landed here looking for info on how to run Hyper with Bash on windows and found this comment by @Tyriar. I wonder if there's a good place to document this to prevent someone getting so lost in the future. I don't see an FAQ section in the website. Happy to provide a PR for this but wondering where the best place is. |
As mentioned by @plessbd:
It seems like a bad idea to override any gnu readline default keybindings without some way for the user to disable as the majority of shells (bash, zsh, fish) will implement basic readline bindings by default. I definitely prefer |
@webframp |
@webframp hterm interpret those actions as: |
Thanks @ppot, ctrl+shift+a if not already taken would make sense as select-all and still preserves ctrl+a start of line behavior |
Any news on 1.0.0? |
It's already released, 1.1.0 is the latest version: https://github.com/zeit/hyper/releases/tag/1.1.0 |
I would like to see support for Bash on Windows (WSL). Maybe a setting in |
@katacarbix it's just a matter of putting PS: If it doesn't work, you need the absolute location |
@katacarbix also take a look at this PR #1347 |
@jasonmit @jcolesio had the same highlighting issue. It was one of the following registry keys that did the trick: Not sure which one did the trick. For other running into same issue try one by one until it works! no restart needed! |
Why can't you just flag the buttons as non-draggable on the old design, so they can receive click events? |
Insted of commenting on this PR, please open new issue and it will be discussed there. |
TODO
Fix– 35df444npm prune; npm install --production
on WindowsFixa1aacdbNODE_ENV=production webpack
on WindowsAdd a bigger9028726icon.ico
for WindowsBuild on AppVeyorAddBuilding on Windows
to README.mdCtrl+T
,Ctrl+N
etc aren't working – related: Ctrl-based shortcuts don't work on Linux #274Fix themaximize
andclose
SVGs – cc @codetheory @evilrabbitAdd padding to the hamburger menu, minimize, maximize and close buttons – cc @codetheory @evilrabbitDesign review – cc @codetheory @evilrabbit @rauchgAdd CSS classes to enable customization of the hamburger menu, minimize, maximize and close buttons.header_shape
is enoughTest on macOS to make sure thatpty.js
doesn't introduce any weird behaviorSummary
child_pty
=>pty.js
to enable Windows support (7f29ead)Why this new design 🤔
When you create a frameless window, you need to specify
-webkit-app-region: drag
in CSS to tell Electron which regions are draggable.Electron's documentation states:
The problem is that on macOS, the above is simply not true. An element specified as the draggable region will receive click events:
On Linux and Windows, the behavior is the one described in the documentation – the element will not receive click events:
(On Windows/Linux you can drag the window too, I just didn't recorded it)
With that in mind, we introduced a new
<div>
that becomes visible on Windows/Linux when there are two or more open tabs:Building on Windows
To build on Windows you need to install some dependencies and run some commands:
npm config set python python2.7
npm config set msvs_version 2015 --global
About
pty.js
We're using @Tyriar's fork of
pty.js
– the same used on Visual Studio Code. Check #190 for a discussion on that.Feeback wanted
We need your feedback to make sure this feature is 💯 👌 💅 ✨ for the upcoming
1.0.0
release! Any help is more than welcome, especially with tests on Windows and Linux (and macOS too, to make sure that there are no unexpected side effects) 😄Closes #167; Closes #190; Closes #795;