Opened 4 years ago

Last modified 4 years ago

#5758 new defect

Copy and Paste in Console is broken

Reported by: Imarok Owned by:
Priority: Nice to Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by elexis)

The Copy and paste hotkeys are broken in the console (open with F9).

It is not known if it ever worked, but it at least seems to be broken for a long time. But there is already code that should handle copy/pasting in console: https://github.com/0ad/0ad/blob/a01173d93de4caf6cbaccd563775cd5d226a041a/source/ps/CConsole.cpp#L649

The copy and paste events are only sent to the console when it is closed. When the console is open it never receives such an hotkey event.

Change History (3)

comment:1 by Stan, 4 years ago

I tested A19 (Post SDL2) and A14 and both suffered from the same issue on Windows.

comment:2 by elexis, 4 years ago

Description: modified (diff)

in reply to:  2 comment:3 by Imarok, 4 years ago

Replying to elexis: Thx. Seems like I was too slerpy when creating the ticket.

Note: See TracTickets for help on using tickets.