-
-
Notifications
You must be signed in to change notification settings - Fork 10.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
Shift+Insert to paste text #1541
Comments
Interesting, I had never used this shortcut before but it seems to work on Windows at least. |
On linux shift+insert(and also the middle mouse button click) actually
pastes the last selected text, no need to be copied explicitly :)
…On Mon, Jan 8, 2018 at 4:16 PM, omar ***@***.***> wrote:
Interesting, I had never used this shortcut before but it seems to work on
Windows at least.
Do you know if it's generally a cross platform thing? Do this differ in
any way to CTRL+V ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1541 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAT3Z5ODv7vdxBvQafGYvUM8YRh7o9xpks5tIiMsgaJpZM4RWaHY>
.
|
I use it fairly often since it's configured as a single button on my keyboard. |
@nayyden I don't imagine this to a be "Linux" thing but more like a feature of the terminal application you are using? @tversteeg So we are looking at those: Ctrl+Insert = Ctrl+C = COPY Until now imgui didn't know about the "Insert" key (it doesn't have a full keyboard layout). I was hoping to wait and add every key later but made an exception and added Insert already (see commit above). The question is to know if adding those shortcuts to InputText() would be a problem but any user/OS based on their expectation. |
These shortcuts seem to generally work on most applications on the OSes I've tried them on--Debian and Windows 10. |
… Ctrl+Insert (copy), Shift+Insert (paste). (#1541)
Added support for those shortcuts now. |
Just for note, Shift+Insert (and the other Shift+things) were the original Copy/Cut/Paste keys, supported by Windows, mac, unix's basically everywhere on everything. Windows added Ctrl+C/etc... to supplement them in Windows 3 (I remember when it was added ^.^). Shift+etc tend to work more universally than Ctrl+etc overall. :-) |
…d in UpdateSelectWindowViewport(). (#1541)
…indow (affecting sync of multi-layered docking overlays). This was extremely tricky to find and fix (*). (#1541) (*) Merely assigning viewport->Pos = pos in UpdateMovingWindow() broke a series of thing because the code that assign viewports and viewport flags relied on moving window leaving its own viewport the first time to set the NoInputs flag.
It would be nice to add this in addition to Ctrl+V. And Ctrl+Insert for copying would also be nice since it seems to be a standard as well.
The text was updated successfully, but these errors were encountered: