question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Terminal disables browser refresh

See original GitHub issue

When I focus the terminal and attach() it to a websocket, the F5 key stops working to refresh the page. I can understand why this can be desirable, when interfacing with a program for which F5 has its own significance, but in my case it doesn’t, and not being able to refresh with a single keypress slows down the testing cycle. Is there any way to make xterm.js make an exception for the F5 key?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
theflyingapecommented, Jun 8, 2018

If expediency helps, ctrl-shift-r works for me using Chrome or Firefox.

0reactions
Tyriarcommented, Jun 8, 2018

I’ve never had issues refreshing the demo on any platform even when focused. I tend to use cmd+r/ctrl+r these days though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Disable Page Auto-reloading on Safari Mac?
Learn how to disable the web page auto-reloading or refresh on the Apple Safari ... MacOS terminal to enable Debug menu on Safari...
Read more >
How Do I disable the Refresh button of browser - CodeProject
I had read an article about it , but it can disable only the F5 button but the refresh on mouse cant be...
Read more >
Disable browser reload option using javascript or Jquery
Hi I have the following code for disabling F5 $(document).ready(function(){ $(window).keydown(function(event){ if(event.
Read more >
Refresh the browser when a text appears on the terminal
Save the file; Switch to the terminal; Ctrl-c; Up arrow; Enter; Wait for the app to restart; Switch to the browser; Reload.
Read more >
Hot Reload shows in terminal but do not updates browser #7839
Disabled browser cache but still receiving old component. Terminal log page reload successfully and browser auto refresh works as expected.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found