--- lfm.py.orig	2011-05-21 11:58:14.000000000 +0200
+++ lfm.py	2016-03-07 14:25:52.922679210 +0100
@@ -664,13 +664,13 @@
             path = tab.vfs and vfs.join(tab) or tab.path
             path = (len(path)>w-5) and '~' + path[-w+5:] or path
             self.win.box()
-            self.win.addstr(0, 2, utils.encode(path), attr)
-            self.win.addstr(1, 1,
+            self.win.insstr(0, 2, utils.encode(path), attr)
+            self.win.insstr(1, 1,
                             'Name'.center(self.pos_col1-2)[:self.pos_col1-2],
                             curses.color_pair(2) | curses.A_BOLD)
-            self.win.addstr(1, self.pos_col1+2, 'Size',
+            self.win.insstr(1, self.pos_col1+2, 'Size',
                             curses.color_pair(2) | curses.A_BOLD)
-            self.win.addstr(1, self.pos_col2+5, 'Date',
+            self.win.insstr(1, self.pos_col2+5, 'Date',
                             curses.color_pair(2) | curses.A_BOLD)
         else:
             if tab.nfiles > h:
@@ -693,10 +693,10 @@
             # show
             if self.mode == PANE_MODE_FULL:
                 buf = tab.get_fileinfo_str_long(res, w)
-                self.win.addstr(i, 0, utils.encode(buf), attr)
+                self.win.insstr(i, 0, utils.encode(buf), attr)
             else:
                 buf = tab.get_fileinfo_str_short(res, w, self.pos_col1)
-                self.win.addstr(i+2, 1, utils.encode(buf), attr)
+                self.win.insstr(i+2, 1, utils.encode(buf), attr)
 
         # vertical separators
         if self.mode != PANE_MODE_FULL:
@@ -758,13 +758,13 @@
         res = files.get_fileinfo_dict(tab.path, filename, tab.files[filename])
         if self.mode == PANE_MODE_FULL:
             buf = tab.get_fileinfo_str_long(res, self.maxw)
-            cursorbar.addstr(0, 0, utils.encode(buf), attr)
+            cursorbar.insstr(0, 0, utils.encode(buf), attr)
             cursorbar.refresh(0, 0,
                               tab.file_i % self.dims[0] + 1, 0,
                               tab.file_i % self.dims[0] + 1, self.maxw-2)
         else:
             buf = tab.get_fileinfo_str_short(res, self.dims[1], self.pos_col1)
-            cursorbar.addstr(0, 0, utils.encode(buf), attr)
+            cursorbar.insstr(0, 0, utils.encode(buf), attr)
             cursorbar.addch(0, self.pos_col1-1, curses.ACS_VLINE, attr)
             cursorbar.addch(0, self.pos_col2-1, curses.ACS_VLINE, attr)
             row = tab.file_i % (self.dims[0]-3) + 3
