diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-13 16:36:15 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-13 16:36:15 -0400 |
commit | a05402678ac7bc8cc8a545212cdf4caede49be1b (patch) | |
tree | df337b859a4ca4c9a0d2ff73c41aaeb889f14715 | |
parent | 8e3b4b0b052fd92ce89cc861ee95fb8d9bfcd2cc (diff) | |
download | runes-a05402678ac7bc8cc8a545212cdf4caede49be1b.tar.gz runes-a05402678ac7bc8cc8a545212cdf4caede49be1b.zip |
add a couple comments about known-broken things
-rw-r--r-- | display.c | 2 | ||||
-rw-r--r-- | pty-unix.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -165,6 +165,7 @@ void runes_display_show_string(RunesTerm *t, char *buf, size_t len) cairo_set_source(t->cr, t->bgcolor); cairo_get_current_point(t->cr, &x, &y); runes_display_get_font_dimensions(t, &fontx, &fonty, &ascent); + /* XXX broken with utf8 */ cairo_rectangle(t->cr, x, y - ascent, fontx * len, fonty); cairo_fill(t->cr); cairo_restore(t->cr); @@ -181,6 +182,7 @@ void runes_display_show_string(RunesTerm *t, char *buf, size_t len) cairo_restore(t->cr); } + /* XXX broken with utf8 */ t->col += len; } } @@ -43,6 +43,8 @@ void runes_pty_backend_init(RunesTerm *t) shell = "/bin/sh"; } + /* XXX should use a different TERM value eventually, but for right now + * screen is compatible enough */ setenv("TERM", "screen", 1); unsetenv("LINES"); unsetenv("COLUMNS"); |