Giter Site home page Giter Site logo

Comments (5)

blueyed avatar blueyed commented on August 30, 2024 1

@Tetralet
Would it be possible to have a proprietary escape sequence for this?
Or another method to change the setting for the current LilyTerm window?

I would like to change it dynamically in terminal Vim (via Vim's &t_SI and &t_EI).

See http://vim.wikia.com/wiki/Change_cursor_shape_in_different_modes for instructions for other terminal emulators.
Here is another more generic reference document I have found: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html

from lilyterm.

punassuming avatar punassuming commented on August 30, 2024

Cursor style is defined in VT510 here:

http://vt100.net/docs/vt510-rm/DECSCUSR

from lilyterm.

punassuming avatar punassuming commented on August 30, 2024

You probably don't need the help, but here is the method to define cursor shape:
http://developer.gnome.org/vte/unstable/VteTerminal.html#VteTerminalCursorShape-enum

from lilyterm.

Tetralet avatar Tetralet commented on August 30, 2024

Thanks for the suggestion.

It won't be difficult using vte_terminal_set_cursor_shape() to set the shape of cursor under VTE,
But it seems impossible to detect escape sequence like printf'\033]12;blue\007\033\033[4 q'` under VTE right now.
I think that the better solution is add a new menu item like "Set the cursor shape",
And users may select the shape of cursor from the shape list.
It will be implement as soon as possible.
Thanks for this great idea!

from lilyterm.

tmccombs avatar tmccombs commented on August 30, 2024

I'd also like to be able to have an application (such as neovim) change the shape of the cursor. See https://github.com/neovim/neovim/wiki/FAQ#how-to-change-cursor-shape-in-the-terminal

from lilyterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.