tui: Spelling corrections in doco and commentary

This commit is contained in:
Jonathan de Boyne Pollard
2017-05-26 00:18:24 +01:00
parent 74472f7b2b
commit 503a5c458b
3 changed files with 3 additions and 5 deletions

View File

@@ -192,7 +192,7 @@ scrolling ('wrap' option off) consider setting 'sidescroll' to a small
number.
If you have a slow terminal you may want to reset the 'showcmd' and 'ruler'
options. The command characters and cursor poritions will not be shown in the
options. The command characters and cursor positions will not be shown in the
status line (which involves a lot of cursor motions and attribute changes for
every keypress or movement). If the terminal scrolls very slowly, set the
'scrolljump' to 5 or so. If the cursor is moved off the screen (e.g., with

View File

@@ -117,7 +117,7 @@ check if the 'highlight' option contains "si". In version 3.0, this meant to
invert the status line. Now it should be "sr", reverse the status line, as
"si" now stands for italic! If italic is not available on your terminal, the
status line is inverted anyway; you will only see this problem on terminals
that have |terminfo| capbilities for italics.
that have |terminfo| capabilities for italics.
==============================================================================
3. Opening and closing a window *opening-window* *E36*

View File

@@ -773,8 +773,6 @@ static void tui_set_mode(UI *ui, ModeShape mode)
cursorentry_T c = data->cursor_shapes[mode];
int shape = c.shape;
// Support changing cursor shape on some popular terminals.
if (c.id != 0 && ui->rgb) {
int attr = syn_id2attr(c.id);
if (attr > 0) {
@@ -2063,7 +2061,7 @@ static void patch_terminfo_bugs(TUIData *data, const char *term,
"%e%{1}" // everything else is bar
"%;%d;BlinkingCursorEnabled=%?"
"%p1%{1}%<" "%t%{1}" // Fortunately if we exclude zero as special,
"%e%p1%{1}%&" // in all other cases we can teeat bit #0 as a flag.
"%e%p1%{1}%&" // in all other cases we can treat bit #0 as a flag.
"%;%d\x07"));
if (-1 == data->unibi_ext.reset_cursor_style) {
data->unibi_ext.reset_cursor_style = (int)unibi_add_ext_str(ut, "Se",