From 184039044a92b83f38b880b0a4a1c5ebc272af9c Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 4 Jun 2017 08:02:20 +0000 Subject: [PATCH] Typo/style; plus man page escaping from jmc. --- screen-write.c | 2 +- tmux.1 | 4 ++-- tty.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/screen-write.c b/screen-write.c index c5af7c07..1f122482 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1390,7 +1390,7 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc) } } - /* Update the selection the flag and set the cell. */ + /* Update the selected flag and set the cell. */ selected = screen_check_selection(s, s->cx, s->cy); if (selected && (~gc->flags & GRID_FLAG_SELECTED)) { memcpy(&tmp_gc, gc, sizeof tmp_gc); diff --git a/tmux.1 b/tmux.1 index dfc25ee0..7e9fd5a9 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1394,7 +1394,7 @@ The following keys may be used in tree mode: .It Li "t" Ta "Toggle if item is tagged" .It Li "T" Ta "Tag no items" .It Li "C-t" Ta "Tag all items" -.It Li ":" Ta "Run a command for each tagged item" +.It Li "\&:" Ta "Run a command for each tagged item" .It Li "f" Ta "Enter a format to filter items" .It Li "O" Ta "Change sort order" .It Li "q" Ta "Exit mode" @@ -3736,7 +3736,7 @@ The flag is one of the following symbols appended to the window name: .It Li "*" Ta "Denotes the current window." .It Li "-" Ta "Marks the last window (previously selected)." .It Li "#" Ta "Window is monitored and activity has been detected." -.It Li "!" Ta "A bell has occurred in the window." +.It Li "\&!" Ta "A bell has occurred in the window." .It Li "~" Ta "The window has been silent for the monitor-silence interval." .It Li "M" Ta "The window contains the marked pane." .It Li "Z" Ta "The window's active pane is zoomed." diff --git a/tty.c b/tty.c index 7759e0ea..3d0e210b 100644 --- a/tty.c +++ b/tty.c @@ -1848,7 +1848,7 @@ tty_check_fg(struct tty *tty, const struct window_pane *wp, */ if (~gc->flags & GRID_FLAG_NOPALETTE) { c = gc->fg; - if (gc->fg < 8 && gc->attr & GRID_ATTR_BRIGHT) + if (c < 8 && gc->attr & GRID_ATTR_BRIGHT) c += 90; if ((c = window_pane_get_palette(wp, c)) != -1) gc->fg = c;