aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-06-24 12:09:53 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-06-24 12:09:53 -0400
commit2ec5985f9c645fb53c0c327c1fbd514e68c614a7 (patch)
tree300b52053ed47f5cf1cd3f533a09a2f0816bf6f7
parent73699db214f70901d642866f4233fbc99fa792a6 (diff)
downloadtextadept-2ec5985f9c645fb53c0c327c1fbd514e68c614a7.tar.gz
textadept-2ec5985f9c645fb53c0c327c1fbd514e68c614a7.zip
Refresh the ncurses Scintilla window more accurately; src/textadept.c
-rw-r--r--src/textadept.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/textadept.c b/src/textadept.c
index fe87a735..624cec61 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -2271,8 +2271,7 @@ int main(int argc, char **argv) {
l_close(lua);
break;
} else quit = FALSE;
- wrefresh(scintilla_get_window(focused_view));
- redrawwin(scintilla_get_window(focused_view));
+ scintilla_refresh(focused_view);
}
endwin();
termkey_destroy(tk);