summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--screen-write.c2
-rw-r--r--tmux.14
-rw-r--r--tty.c2
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;