2006-11-13 Denis Pilat <denis.pilat@st.com>
authorFrederic Riss <frederic.riss@st.com>
Mon, 13 Nov 2006 09:33:30 +0000 (09:33 +0000)
committerFrederic Riss <frederic.riss@st.com>
Mon, 13 Nov 2006 09:33:30 +0000 (09:33 +0000)
* terminal.c (_rl_get_screen_size): use wr and wc variable to store
window size.

readline/ChangeLog.gdb
readline/terminal.c

index 8efe3c0ee381b5db10b2ca7a1e07779e9361f42a..67514730306540e6db4c303f525f4d4a525d3b17 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-13  Denis Pilat  <denis.pilat@st.com>
+
+       * terminal.c (_rl_get_screen_size): use wr and wc variable to store
+       window size.
+
 2006-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * callback.c: Include "xmalloc.h".
index 21732a791bb419c5271d57b3d5d441d888c40a9f..46b50e77e24a37b303ac9cbd48d0a214ae018184 100644 (file)
@@ -226,8 +226,8 @@ _rl_get_screen_size (tty, ignore_env)
       CONSOLE_SCREEN_BUFFER_INFO scr;
       if (GetConsoleScreenBufferInfo (hConOut, &scr))
        {
-         _rl_screenwidth = scr.dwSize.X;
-         _rl_screenheight = scr.srWindow.Bottom - scr.srWindow.Top + 1;
+         wc = scr.dwSize.X;
+         wr = scr.srWindow.Bottom - scr.srWindow.Top + 1;
        }
     }
 #endif
This page took 0.024433 seconds and 4 git commands to generate.