Move to xterm.js for CJK and IME support (#22)

This commit is contained in:
Shuanglei Tao
2016-11-09 20:02:04 +08:00
committed by GitHub
parent 24c3f2a880
commit e0e6d89870
14 changed files with 1802 additions and 700 deletions

View File

@@ -49,12 +49,12 @@ parse_window_size(const char *json) {
struct json_object *o = NULL;
if (!json_object_object_get_ex(obj, "columns", &o)) {
lwsl_err("columns field not exists!");
lwsl_err("columns field not exists!\n");
return NULL;
}
columns = json_object_get_int(o);
if (!json_object_object_get_ex(obj, "rows", &o)) {
lwsl_err("rows field not exists!");
lwsl_err("rows field not exists!\n");
return NULL;
}
rows = json_object_get_int(o);