-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Can't select text inside a terminal #758
Comments
Did you fork xterm.css and not update it? |
No, actually we're using the one that comes with the release package |
But I've made some style-related modifications: #terminal-container {
height:100vh;
margin: 0px;
padding: 0px;
z-index: 255;
}
#terminal-container .terminal {
background-color: #000;
color: #fafafa;
padding: 0px;
font-family: 'Ubuntu Mono', monospace;
height:100%;
font-size: 1em;
line-height: 1 !important;
} Do they modify any xterm specific behavior? |
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;
} |
I think this problem is related to my z-index values, |
I'll try to perform a test |
@andfoy |
@Tyriar I've updated our sources to the last version, and selection is working again! It was our fault, sorry for the inconveniences. |
@andfoy good to hear, was the issue just out of date xterm.css or lib/ files or something? |
Yes! The CSS and JS sources were out-of-date, also we had some problems with Cache on Qt, but they are now solved |
@Tyriar Thanks for your help |
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
Steps to reproduce
.terminal
containerThe text was updated successfully, but these errors were encountered: