aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-07-12 13:40:41 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-07-12 13:40:41 -0400
commitb32f32675e5673f6b138eff71f6f4bcbdb7415e1 (patch)
tree9d42179cb48a4aeeac13807e0a42f3fa22e2adb5 /src/textadept.c
parentc799f9f9c793cd28c7b567b5aa7f0eb6205a9d83 (diff)
downloadtextadept-b32f32675e5673f6b138eff71f6f4bcbdb7415e1.tar.gz
textadept-b32f32675e5673f6b138eff71f6f4bcbdb7415e1.zip
Refresh the ncurses Scintilla window on startup; src/textadept.c
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 53b1b7ab..06d4a98a 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -2271,6 +2271,8 @@ int main(int argc, char **argv) {
gtk_main();
#endif
#elif NCURSES
+ scintilla_refresh(focused_view);
+
// Ignore some termios (from GNU Nano).
tcgetattr(0, &term);
term.c_iflag &= ~IEXTEN, term.c_iflag &= ~IXON;