revert the blocking of meta sequences in main(), as it doesn't solve the
problem of meta sequences' sometimes being interpreted as printable characters when they shouldn't be git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1937 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
807657b0fe
commit
e6ef8b9bb9
|
@ -71,8 +71,6 @@ CVS code -
|
||||||
do_para_begin(), do_para_end()
|
do_para_begin(), do_para_end()
|
||||||
- Maintain current_y's value when moving up or down lines so
|
- Maintain current_y's value when moving up or down lines so
|
||||||
that smooth scrolling works correctly. (DLR)
|
that smooth scrolling works correctly. (DLR)
|
||||||
main()
|
|
||||||
- Don't let meta sequences get through to do_char(). (DLR)
|
|
||||||
- nano.h:
|
- nano.h:
|
||||||
- Add WIDTH_OF_TAB #define, containing the default width of a
|
- Add WIDTH_OF_TAB #define, containing the default width of a
|
||||||
tab. (DLR)
|
tab. (DLR)
|
||||||
|
|
|
@ -3492,7 +3492,7 @@ int main(int argc, char **argv)
|
||||||
kbinput = get_edit_input(&meta_key, TRUE);
|
kbinput = get_edit_input(&meta_key, TRUE);
|
||||||
|
|
||||||
/* Last gasp, stuff that's not in the main lists. */
|
/* Last gasp, stuff that's not in the main lists. */
|
||||||
if (kbinput != ERR && !meta_key && !is_cntrl_char(kbinput)) {
|
if (kbinput != ERR && !is_cntrl_char(kbinput)) {
|
||||||
/* Don't stop unhandled printable sequences, so that people
|
/* Don't stop unhandled printable sequences, so that people
|
||||||
* with odd character sets can type. */
|
* with odd character sets can type. */
|
||||||
if (ISSET(VIEW_MODE))
|
if (ISSET(VIEW_MODE))
|
||||||
|
|
Loading…
Reference in New Issue