Hi, Currently, when something is pasted in the terminal window by dragging and dropping content from another application(for example, a url from a web browser), the cursor is positioned right after the pasted material. When pasting something else after that, one would first have to focus the terminal, insert a space, and then go back to the original application to copy more material. It would be nice if a space was automatically added at the end of such pasted material to make it easier to paste multiple pieces of data. Thank you, Raj Kiran
Could someone please advise whether this is desirable in Terminal? 'gnome-terminal' does not do this.
(In reply to comment #1) > Could someone please advise whether this is desirable in Terminal? > 'gnome-terminal' does not do this. gnome-terminal does indeed insert a space. Drag any link from a web browser into the terminal window and it will insert a space. But only for a link that is dragged and dropped, not if it is copy pasted. Sorry for not mentioning this before. gnome-terminal was where I found out about this behavior. It is convenient to quickly make a list of links without repeatedly switching focus between the terminal and the browser. Thank you, Raj Kiran
(In reply to comment #2) > (In reply to comment #1) > > Could someone please advise whether this is desirable in Terminal? > > 'gnome-terminal' does not do this. > > gnome-terminal does indeed insert a space. Drag any link from a web browser > into the terminal window and it will insert a space. But only for a link that > is dragged and dropped, not if it is copy pasted. Sorry for not mentioning this > before. > > gnome-terminal was where I found out about this behavior. It is convenient to > quickly make a list of links without repeatedly switching focus between the > terminal and the browser. > > Thank you, > Raj Kiran I believe gnome-terminal increments the cursor position one column to the right of the last character of the drag-and-dropped content, instead of inserting a space.
You will still need to press spacebar after that in order to get a real 'space'.
(In reply to comment #3) > I believe gnome-terminal increments the cursor position one column to the right > of the last character of the drag-and-dropped content, instead of inserting a > space. (In reply to comment #4) > You will still need to press spacebar after that in order to get a real > 'space'. I don't think it works that way. If I open vim inside gnome-terminal and drag-and-drop a link while in insert mode, then a space gets inserted at the end. Similarly for just "cat > links.txt" followed by drag-drop. The created file does contain spaces. Cursor re-positioning would not work for these cases, would it? Thank you, Raj Kiran
No desirable. How does the terminal know if you like a space after the text? Maybe its a comment for a commit, maybe an url.. Who knows?