Fix lack of update on width resize

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@28 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Chris Allegretta 2000-06-19 05:45:52 +00:00
parent bceb1b21a6
commit 97accc6f12
3 changed files with 27 additions and 1 deletions

View File

@ -6,15 +6,37 @@ since last release (CVS Only) - 06/06/2000
we had been seeing. Affects: add_marked_sameline, edit_add,
and many others. (Rob Siemborski)
- totsize fixes (Rob Siemborski)
total_refresh():
- Cut dispaly_main_list call, as this function is only supposed to refresh
what's already on the screen, not go through the process of adding the
text again.
- cut.c:
- totsize fixes (Rob Siemborski)
- nano.c:
- experimental do_wrap and check_wrap (Adam Rogoyski)
- Removed editwineob, as it was redundant for (editwinrows - 1).
Changed all calls to editwinrows - 1 in nano.c and move.c.
- Removed all functions that were split into other files.
Affects LOTS of funcs.
do_enter():
- Added reset of placewewant to end.
do_insertfile():
- Fix display problem when using ctrl-r to load a file
into the buffer (Rob Siemborski)
handle_sigwinch():
- Added titlebar(), edit_refresh() and display_main_list() calls because
a resize wasn't picking up on possible different width correctly.
- utils.c:
- Moved nmalloc() and nrealloc() here.
- move.c:
- New file, contains movement functions (like do_home(), do_up(),
do_down(), page_up(), etc...).
- files.c:
- Contains functions for files (read_file, insert_file,
do_writeout(), etc).
- search.c:
- Contains all our searching and related functions, (do_search(),
findnextstr(), do_replace(), do_gotoline()).
nano-0.9.10 - 06/04/2000
- es.po:

5
nano.c
View File

@ -1302,7 +1302,12 @@ void handle_sigwinch(int s)
edit_update(editbot);
}
erase();
/* Do these b/c width may have changed... */
refresh();
titlebar();
edit_refresh();
display_main_list();
total_refresh();
#endif
}

View File

@ -1043,7 +1043,6 @@ void display_main_list(void)
int total_refresh(void)
{
display_main_list();
clearok(edit, TRUE);
clearok(topwin, TRUE);
clearok(bottomwin, TRUE);