Hyper: Have to press enter twice after "exit"

Created on 11 Dec 2017  路  10Comments  路  Source: vercel/hyper

bundle.js:1 (re)loading renderer plugins
bundle.js:1 Plugin hyper-materialshell (1.6.1) loaded.
bundle.js:1 Plugin hyper-quit (1.0.2) loaded.
index.html:35 total init time 113.00999999999999
  • The issue is reproducible in vanilla Hyper.app: Yes, happens with and without plugins, on both stable and canary update channels. Only tested on 2.x versions though.

Issue

I always have to press Enter twice after typing in exit, to exit/close the current Hyper session/window.

This happens on two different machines, but they are using the same configuration file.

NOTE: I've tested with and without plugins, which made no difference, so it's unlikely plugin related. Also worth noting that I've tested with and without canary updates, but still only with 2.x versions.

Mac Bug

Most helpful comment

Not sure if it's related to canary.9, but I haven't had this issue the past couple of days.

All 10 comments

Just to update on this, it doesn't actually have to be the Enter key after pressing it once when executing exit, as it can be any virtually any key, so it's kinda like it's just pausing there.

I've been experiencing this ever since the upgrade to OS 10.13.

I'm having the same issue. in case its of any relevance:

https://github.com/zeit/hyper/issues/2545#issuecomment-351423471

to verify that te process has indeed ended I tried the same procedure in terminal.app and iterm2
which work as expected. (iterm2 closes tab/window, terminal.app shows [Process completed])

Confirmed using macOS 10.13.2 and Hyper v1.4.8 (stable) with a completely blank configuration. I tried it with zsh v5.4.2 (installed via Homebrew) and /bin/bash (macOS system default -- GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)). Both had the same results.

Steps to Reproduce

  1. Launch Hyper
  2. Wait for shell to start
  3. Type exit and press Enter

Expected: Window to close
Actual: Window does not close until Enter (or other key) is pressed

same here.
That's the last issue that stops me from switching from iTerm 馃槃
(except notifications of course)

I was also just able to reproduce this using Hyper 2.0.0-canary.8 (stable) on macOS 10.13.2 using the same reproduction steps as above.

Not sure if it's related to canary.9, but I haven't had this issue the past couple of days.

I agree that the exit problem seems to be fixed in canary.9. However, this introduces a new problem with hyperline 0.6.1, which is required to avoid this problem: https://github.com/Hyperline/hyperline/issues/127

Confirmed working.

Could anyone kindly point out which commit fix this bug? Like to learn from it :-)

Was this page helpful?
0 / 5 - 0 ratings