3

I have a problem with Geany. I can set a keyboard shortcut to send selection to the terminal. But these line are just copied on the terminal, not executed. So, if you select this line:

R

and send it to the terminal, R is not actually executed, instead the letter R appears in the terminal prompt. If I press "enter" then R is launched. How can I make that last "enter" be automatically send to the terminal together with the selection?

Is there a keyboard shortcut to send and execute the selection in the terminal?

user2413
  • 14,957

2 Answers2

5

Changing send_selection_unsafe=false to send_selection_unsafe=true in the geany.conf file (~/.config/geany/geany.conf) fixed this for me.

Zanna
  • 72,312
Dries
  • 116
1

I am not familiar with geany so I could be wrong here but you probably need to add CrLf to the end of the line. Most programs this can be specified with \r\n maybe that will help.

MttJocy
  • 692