comparison src/term.c @ 3980:aab4b29520e7 v7.3.745

updated for version 7.3.745 Problem: Automatically setting 'ttymouse' doesn't work. Solution: Reset the "option was set" flag when using the default.
author Bram Moolenaar <bram@vim.org>
date Wed, 05 Dec 2012 14:43:02 +0100
parents 4ffb6f9b58e0
children ad21448af931
comparison
equal deleted inserted replaced
3979:538ff809ae53 3980:aab4b29520e7
1862 else 1862 else
1863 p = (char_u *)"xterm"; 1863 p = (char_u *)"xterm";
1864 } 1864 }
1865 # endif 1865 # endif
1866 if (p != NULL) 1866 if (p != NULL)
1867 {
1867 set_option_value((char_u *)"ttym", 0L, p, 0); 1868 set_option_value((char_u *)"ttym", 0L, p, 0);
1869 /* Reset the WAS_SET flag, 'ttymouse' can be set to "sgr" or
1870 * "xterm2" in check_termcode(). */
1871 reset_option_was_set((char_u *)"ttym");
1872 }
1868 if (p == NULL 1873 if (p == NULL
1869 # ifdef FEAT_GUI 1874 # ifdef FEAT_GUI
1870 || gui.in_use 1875 || gui.in_use
1871 # endif 1876 # endif
1872 ) 1877 )