diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-12-05 20:04:06 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-12-05 20:04:06 +0000 |
commit | d0342f4a0474abf42098fbaa0a4e2f2e3f006514 (patch) | |
tree | 1c57a4a32b44eaeb6036ae8153e3d5fd8b2c7f85 /input.c | |
parent | 408c85507048a2ca97d1ff13493545d5cf636a40 (diff) |
Ability to show window title on status line.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.67 2008-11-16 13:28:59 nicm Exp $ */ +/* $Id: input.c,v 1.68 2008-12-05 20:04:06 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -462,7 +462,8 @@ input_state_string_escape(u_char ch, struct input_ctx *ictx) xfree(s); return; } - screen_set_title(ictx->ctx.s, s + 2); + screen_set_title(ictx->ctx.s, s + 2); + server_status_window(ictx->w); xfree(s); break; case STRING_APPLICATION: @@ -470,6 +471,7 @@ input_state_string_escape(u_char ch, struct input_ctx *ictx) return; s = input_get_string(ictx); screen_set_title(ictx->ctx.s, s); + server_status_window(ictx->w); xfree(s); break; case STRING_NAME: |