aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-02-22 14:02:30 +0000
committerThomas Adam <thomas@xteddy.org>2018-02-22 14:02:30 +0000
commit9464b94f64eb5e8889e856458305256bacc3f94d (patch)
treeb3565642fc5b3534881fc4d519749517b695bfd8
parentc2aa40449c2d6a225451c2415b92489f71da52c6 (diff)
parent3f3f13fbd79d6b847aa52d0cbba8c6a07b013b0e (diff)
downloadrtmux-9464b94f64eb5e8889e856458305256bacc3f94d.tar.gz
rtmux-9464b94f64eb5e8889e856458305256bacc3f94d.tar.bz2
rtmux-9464b94f64eb5e8889e856458305256bacc3f94d.zip
Merge branch 'obsd-master'
-rw-r--r--status.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/status.c b/status.c
index 55e331fa..d0b66ca9 100644
--- a/status.c
+++ b/status.c
@@ -806,7 +806,6 @@ status_prompt_redraw(struct client *c)
struct screen old_status;
u_int i, offset, left, start, pcursor, pwidth, width;
u_int lines;
- size_t len;
struct grid_cell gc, cursorgc;
if (c->tty.sx == 0 || c->tty.sy == 0)
@@ -820,10 +819,6 @@ status_prompt_redraw(struct client *c)
} else
screen_init(&c->status.status, c->tty.sx, lines, 0);
- len = screen_write_strlen("%s", c->prompt_string);
- if (len > c->tty.sx)
- len = c->tty.sx;
-
if (c->prompt_mode == PROMPT_COMMAND)
style_apply(&gc, s->options, "message-command-style");
else