r/Kos • u/Mrpapa811 • May 19 '17
Help copy paste maybe?
how do i do it (no its not ctrl+v)
3
u/Dunbaratu Developer May 19 '17
The terminal is not a text window widget. It's manually laid out and the letters are manually arranged in position. That means that to support this would require writing the entire logic from scratch. We can't inherit it from a widget that does all the work itself. That means having to implement the entire algorithm. (The code to mouse-drag to select sections, to scroll the window when the mouse drag goes up out of the area and expand the selection thusly, etc.)
Then there's the problem that ctrl-C already means 'break", not "copy" in the terminal.
Within the little editor window you can use ctrl-C and ctrl-V for cut and paste because it is just a text widget and inherits all that behaviour from the GUI code itself.
2
u/Hanz_Q May 19 '17
I don't know if you can paste into the console but you can paste into the editor window same as anywhere else.
1
5
u/Deranged40 May 19 '17
It is ctrl+v. Whether that works in a video game, who knows. But you didn't give us any context at all, so I have to default to what does work.
Just FYI, you don't have to write or edit code from within KSP itself. None of my KoS scripts were written in KSP.