rpwoodbu / mosh-chrome

Mosh for Chrome
GNU General Public License v3.0
372 stars 59 forks source link

Ignore ESC and return focus on fullscreen. Fix #85 #86

Closed gsf closed 9 years ago

gsf commented 9 years ago

Got obsessed with this and figured out some things.

Aside from the preventDefault on ESC, I included a real hacky workaround to deal with https://code.google.com/p/chromium/issues/detail?id=402340. Notice that we have to hide, then show the app window. Hope that code becomes unnecessary soon.

rpwoodbu commented 9 years ago

Thanks so much for doing this! I also had noticed the weird focus behavior. I have merged it in SHA 982360a, having fixed a couple of style nits. I will push it to the "dev track" release momentarily.

gsf commented 9 years ago

Thanks for merging. Working for me!