After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 549835 - Feature Request: Configurable cursor appearance
Feature Request: Configurable cursor appearance
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
: 543717 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-08-29 15:45 UTC by Craig Chakford
Modified: 2008-10-14 23:04 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Craig Chakford 2008-08-29 15:45:24 UTC
Block cursor mode was something I hated in terminals, and now it seems to be the only thing available.

I suggest allowing four cursor modes.  Block (the only current option), Half-block (aligned left), Horizontal line (probably width ~1 pixel aligned left), and underline.

This is probably a duplicate.  If there is no interest in developing this feature among the current developers, then with the promise of a little help, and provided it won't suck my life away, I may be willing to dust off those old and atrophied programming skills and see what I can do.
Comment 1 Christian Persch 2008-10-09 19:02:54 UTC
Moving to vte since this would need vte API first, or be WONTFIXed there.
Comment 2 Behdad Esfahbod 2008-10-09 23:58:40 UTC
I checked this feature in konsole and I liked what I saw.  Not hard to implement.
Comment 3 Christian Persch 2008-10-12 12:07:59 UTC
*** Bug 543717 has been marked as a duplicate of this bug. ***
Comment 4 Markus Amalthea Magnuson 2008-10-12 21:31:08 UTC
If it is worth anything, this is the same change in Konsole, as mentioned by Behdad: http://websvn.kde.org/?view=rev&sortby=date&revision=650413
Comment 5 Behdad Esfahbod 2008-10-14 20:25:58 UTC
Implemented the vte part.  Reassigning to g-t to add UI.

2008-10-14  Behdad Esfahbod  <behdad@gnome.org>

        Bug 549835 – Feature Request: Configurable cursor appearance

        * src/vte.h:
        New public api:

                VteTerminalCursorShape
                vte_terminal_set_cursor_shape
                vte_terminal_get_cursor_shape

        * src/vte-private.h:
        * src/vte.c (_vte_terminal_insert_char), (vte_terminal_init),
        (vte_terminal_paint_cursor), (vte_terminal_paint),
        (vte_terminal_set_cursor_shape), (vte_terminal_get_cursor_shape):
        Implement new API.  Also clean up cursor drawing in general.

        * doc/reference/Makefile.am:
        * doc/reference/tmpl/reaper.sgml:
        * doc/reference/tmpl/vte-unused.sgml:
        * doc/reference/tmpl/vte.sgml:
        * doc/reference/vte-sections.txt:
        Doc new symbols.  Also add some missing docs.

Comment 6 Christian Persch 2008-10-14 23:04:10 UTC
Implemented in g-t too. I added the setting in the "General" tab of the profile preferences dialogue.