From: Araki K. <j00...@ip...> - 2001-12-27 19:12:22
|
荒木です:-) Subject: Re: [Mlterm-dev-ja] Re: excess linefeed with curses? From: Araki Ken <j00...@ip...> Message-ID: <200...@pd...> Date: 28 Dec 2001 03:57:50 +0900 > 添付のパッチを src/ml_image.c にあてるとどうなりますでしょうか? たびたびすみません、さきほどのパッチは、ちょっとまずいことに気づきましたので、 このメールに添付しましたパッチでお願い致します_o_ では -- kiken j00...@ip... --- ml_image.c.orig Fri Dec 28 04:05:24 2001 +++ ml_image.c Fri Dec 28 04:05:34 2001 @@ -639,6 +639,9 @@ overwrite_lines( image , buffer , filled_len , 1) ; + /* this is necessary before get_pos() since insert_chars_intern() should affect only this line */ + reset_wraparound_checker( image) ; + /* wraparound_ready_line member is set in this function */ get_pos( image , &new_row , &new_char_index , image->cursor.row , 0 , ml_get_num_of_lines_by_hints( &image->line_hints) + image->cursor.row - 1 , cursor_index) ; |