# Selecting text with keyboard (shift+left/right) in Juno under Win10

**URL:** <https://discourse.julialang.org/t/selecting-text-with-keyboard-shift-left-right-in-juno-under-win10/36838>\
**Category:** Juno\
**Created:** [April 1, 2020, 9:13am UTC](https://discourse.julialang.org/t/selecting-text-with-keyboard-shift-left-right-in-juno-under-win10/36838 "2020-04-01T09:13:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![behinger](https://avatars.discourse-cdn.com/v4/letter/b/7ba0ec/32.png) [@behinger](https://discourse.julialang.org/u/behinger)\
**Post date:** [April 1, 2020, 9:13am UTC](https://discourse.julialang.org/t/selecting-text-with-keyboard-shift-left-right-in-juno-under-win10/36838/1 "2020-04-01T09:13:55Z")

</div>

I try to select text using “shift+left” or “shift+right” in the REPL. But it does not work (a colleague testet it on linux with juno, there it works).  
I tried google, but I likely look for the wrong keywords. I also don’t really know what kind of “shell” julia is using. Marking with shift+left etc. also does not work if I run julia-repl directly.

This is something I usually use quite often. Any way to get it to run?

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [April 1, 2020, 9:22am UTC](https://discourse.julialang.org/t/selecting-text-with-keyboard-shift-left-right-in-juno-under-win10/36838/2 "2020-04-01T09:22:47Z")

</div>

You can check in the Juno settings in Atom, but if you haven’t changed any defaults (which I assume you haven’t given you’re asking!) it should be using PowerShell.

I can confirm that when running Julia in PowerShell I can’t shift+left/right select text either, althouth surprisingly it works in PowerShell outside of Julia. You could try with the new Windows Terminal - can’t check right now whether that will help unfortunately as I’m on a work laptop.

---

<div class="post-metadata">

**Author:** ![behinger](https://avatars.discourse-cdn.com/v4/letter/b/7ba0ec/32.png) [@behinger](https://discourse.julialang.org/u/behinger)\
**Post date:** [April 1, 2020, 9:33am UTC](https://discourse.julialang.org/t/selecting-text-with-keyboard-shift-left-right-in-juno-under-win10/36838/3 "2020-04-01T09:33:31Z")

</div>

Thanks for confirming. I can also mark text both in cmd.exe and in powershell.exe.

Changing the config (and restarting) did not change behaviour at all for me. Is this the shell for the repl, or is it the shell that is used when going to shell-mode in the repl (“;”)?

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [April 1, 2020, 10:21am UTC](https://discourse.julialang.org/t/selecting-text-with-keyboard-shift-left-right-in-juno-under-win10/36838/4 "2020-04-01T10:21:29Z")

</div>

Not sure I understand - what I was saying is that for me, using Julia through cmd or PowerShell in Windows does not allow text selection.

Afaik the REPL in Juno is the same as starting PowerShell and then running Julia in that PowerShell process, so I wouldn’t expect changing the settings to do anything given that it seems to be an issue with how Julia runs in PowerShell/cmd rather than with Juno.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [April 1, 2020, 11:27am UTC](https://discourse.julialang.org/t/selecting-text-with-keyboard-shift-left-right-in-juno-under-win10/36838/5 "2020-04-01T11:27:02Z")

</div>

This doesn’t work like you’d expect anywhere (be it plain Powershell or Linux): You can “select” text with `Shift-Left/Right`, but that’s a _different_ kind of selection from what you get from using the mouse; the first kind is a shell-based selection whereas the second one is terminal-based.

---

<div class="post-metadata">

**Author:** ![behinger](https://avatars.discourse-cdn.com/v4/letter/b/7ba0ec/32.png) [@behinger](https://discourse.julialang.org/u/behinger)\
**Post date:** [April 1, 2020, 11:36am UTC](https://discourse.julialang.org/t/selecting-text-with-keyboard-shift-left-right-in-juno-under-win10/36838/6 "2020-04-01T11:36:40Z")

</div>

If shell decides whether one can select text with `shift left/right`, is it correct to infer that julia uses a different shell in linux than windows?

Googling this is hard for me because shell is associated with `;` as well.
