[Konsole-devel] [konsole] [Bug 323227] New: Changing the cursor using the terminal escape sequence clears the profile name
John Szakmeister
john at szakmeister.net
Tue Aug 6 12:10:56 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=323227
Bug ID: 323227
Summary: Changing the cursor using the terminal escape sequence
clears the profile name
Classification: Unclassified
Product: konsole
Version: unspecified
Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: john at szakmeister.net
I have a plugin called vim-togglecursor that will let users change their cursor
shape when in insert mode on a terminal version of vim. It's done using the
CursorShape escape sequence that Konsole supports. What we discovered at work
the other day is that after launching a terminal version of Vim, the profile
name would be cleared (instead of being the default "Shell"). After some work,
we were able to narrow it down the escape sequence for changing the cursor
shape. ISTM, that changing the shape in this way should affect the profile.
Or, at least, when the shape is what the profile had originally set up, the
profile name should remain (the plugin does restore the cursor shape on exit
from vim).
Reproducible: Always
Steps to Reproduce:
1. Starts Konsole.
2. Select "Settings -> Configure Current Profile" from the menu.
3. Observe that the profile has a name and that the cursor type is setup as a
block cursor.
4. In the terminal, type: printf "\e]50;CursorShape=1\x7\e]50;CursorShape=0\x7"
5. The above should flip the cursor to a line shape, and then back to a block
shape.
6. Select "Settings -> Configure Current Profile" from the menu.
7. Observe that the profile name is now empty.
Actual Results:
The profile name is empty after following the steps above.
Expected Results:
I expect the current profile name to remain the same.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list