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.

Can't select text inside a terminal

See original GitHub issue

While testing selection features for spyder-terminal, we actually found that is not possible to select text displayed inside a xterm container, we actually performed tests on Firefox, Chrome and also Qt Webkit/WebEngine, without any success. We can’t use the features implemented on PR #670

We don’t know if we are missing some parameter at our xterm initialization routine: spyder-terminal/server/static/js/main.js

Details

  • Browser and browser version: Firefox 54, Chrome 59
  • OS version: Linux
  • xterm.js version: 2.8.0

Steps to reproduce

  1. Try to select text displayed inside a .terminal container

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
andfoycommented, Jul 5, 2017

Yes! The CSS and JS sources were out-of-date, also we had some problems with Cache on Qt, but they are now solved

1reaction
Tyriarcommented, Jul 5, 2017

Does it have these styles?

.terminal .xterm-selection {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

.terminal .xterm-selection div {
    position: absolute;
    background-color: #fff;
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

bash - Why can't I highlight text in a linux terminal emulator ...
There is another way. Right-click on the terminal window and select "Show Menubar". In the menubar, choose Edit -> Select All, and then...
Read more >
Cannot select text in terminal using keyboard. #242 - GitHub
Steps: Open the terminal; Type any command. Attempt to select with command with Shift+Left Arrow. D letter should be here.
Read more >
Why can't I select text in a terminal? : r/linux4noobs - Reddit
Run a normal terminal, like gnome-terminal. · Drag your mouse cursor across some text, or use the standard keyboard-based text selection keys.
Read more >
[Solved] Cannot select text in either the GUI or Terminal mode
Hi, I am having problems selecting text. In the GUI mode if I use the mouse to select text my selection will disappear...
Read more >
Selecting text in the terminal without using the mouse
Selecting text in the terminal without using the mouse · 1. You mean Ctrl-Shift-Home? · Shift-Home copies to the beginning of the line....
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