Bill's TABSIZE fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@93 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
7ecc435f5a
commit
6967eec4cb
|
@ -1,3 +1,8 @@
|
||||||
|
Current CVS:
|
||||||
|
- nano.c:
|
||||||
|
main():
|
||||||
|
- TABSIZE now set before first call to edit_refresh (Bill Soudan)
|
||||||
|
|
||||||
nano-0.9.12 - 07/07/2000
|
nano-0.9.12 - 07/07/2000
|
||||||
- all:
|
- all:
|
||||||
- New regexp search feature by Bill Soudan. New flags USE_REGEXP
|
- New regexp search feature by Bill Soudan. New flags USE_REGEXP
|
||||||
|
|
6
nano.c
6
nano.c
|
@ -1757,14 +1757,14 @@ int main(int argc, char *argv[])
|
||||||
else
|
else
|
||||||
edit_update(fileage);
|
edit_update(fileage);
|
||||||
|
|
||||||
edit_refresh();
|
|
||||||
reset_cursor();
|
|
||||||
|
|
||||||
#ifdef HAVE_TABSIZE
|
#ifdef HAVE_TABSIZE
|
||||||
if (usrtabsize > 0)
|
if (usrtabsize > 0)
|
||||||
TABSIZE = usrtabsize;
|
TABSIZE = usrtabsize;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
edit_refresh();
|
||||||
|
reset_cursor();
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
kbinput = wgetch(edit);
|
kbinput = wgetch(edit);
|
||||||
if (kbinput == 27) { /* Grab Alt-key stuff first */
|
if (kbinput == 27) { /* Grab Alt-key stuff first */
|
||||||
|
|
Loading…
Reference in New Issue