version 1.1, 2009/06/01 22:58:49 |
version 1.2, 2009/06/03 19:37:27 |
|
|
#include <string.h> |
#include <string.h> |
#include <time.h> |
#include <time.h> |
#include <unistd.h> |
#include <unistd.h> |
|
#include <vis.h> |
|
|
#include "tmux.h" |
#include "tmux.h" |
|
|
|
|
ent->code, ent->name); |
ent->code, ent->name); |
break; |
break; |
case TTYCODE_STRING: |
case TTYCODE_STRING: |
clean_string( |
strnvis(out, code->value.string, sizeof out, |
code->value.string, out, sizeof out); |
VIS_OCTAL|VIS_TAB|VIS_NL); |
ctx->print(ctx, "%2u: %s: (string) %s", |
ctx->print(ctx, "%2u: %s: (string) %s", |
ent->code, ent->name, out); |
ent->code, ent->name, out); |
break; |
break; |