platformio / platformio-atom-ide-terminal

A terminal package for Atom, complete with themes, API and more for PlatformIO IDE
https://atom.io/packages/platformio-ide-terminal
MIT License
613 stars 162 forks source link

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

Open uribe-convers opened 7 years ago

uribe-convers commented 7 years ago

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

suryaavala commented 7 years ago

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

uribe-convers commented 7 years ago

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

chenjau commented 7 years ago

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.

suryaavala commented 7 years ago

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

uribe-convers commented 7 years ago

Thank you @chenjau, works great!

uribe-convers commented 6 years ago

@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...

the-j0k3r commented 5 years ago

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

PixalStudios commented 5 years ago

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.

Alexound commented 4 years ago

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

the-j0k3r commented 4 years ago

@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