platformio-atom-ide-terminal icon indicating copy to clipboard operation
platformio-atom-ide-terminal copied to clipboard

Is there a way to change the cursor at the prompt?

Open uribe-convers opened this issue 7 years ago • 10 comments

I'm wondering if there is a way to change the cursor to a vertical line (pipe) instead of the current block. Just as in the preferences in the terminal app in Mac, see below.

Thanks, Simon

screen shot 2017-05-10 at 7 06 18 am

uribe-convers avatar May 10 '17 12:05 uribe-convers

I was just wondering the same thing. It would be so cool to be to able to change the cursor type.

suryaavala avatar May 11 '17 14:05 suryaavala

Does anybody know how to get a pipe instead of a block?

uribe-convers avatar Jun 05 '17 13:06 uribe-convers

add to your stylesheet:

.platformio-ide-terminal {
  .cursor-blink {
    .terminal-cursor {
      -webkit-animation: none !important;
      background: red;
      width: 2px; // pipe width
    }
  }
}

remove -webkit-animation line if you want animation.

chenjau avatar Jun 29 '17 18:06 chenjau

@chenjau Thanks for the information. It works like charm for me!

suryaavala avatar Jul 03 '17 00:07 suryaavala

Thank you @chenjau, works great!

uribe-convers avatar Jul 03 '17 22:07 uribe-convers

@chenjau @suryaavala does this still work for you? Mine stopped working after reinstalling Atom and haven't been able to get it to work again...

uribe-convers avatar Apr 07 '18 00:04 uribe-convers

Also use https://atom.io/packages/block-cursor

the-j0k3r avatar Apr 12 '19 10:04 the-j0k3r

worked. thanks chenjau. for dummies like me:

atom preferences, open config folder styles.less paste the below code at the end... its standalone code... .platformio-ide-terminal { .cursor-blink { .terminal-cursor { -webkit-animation: none !important; background: whitesmoke; width: 1px; // pipe width } } }

worked me.

PixalStudios avatar Apr 19 '19 05:04 PixalStudios

Greetings! Is there similar solution to make the cursor 'underline' type? Tried to add and change 'height' key, with no effect. Thanks.

Alexound avatar Mar 12 '20 07:03 Alexound

@Alexound https://github.com/bus-stop/terminus/issues/59 and also https://github.com/bus-stop/terminus/pull/66 Which I need help with.

also you have x-terminal which supports this via xtermjs

the-j0k3r avatar Mar 12 '20 07:03 the-j0k3r