~ubuntu-branches/ubuntu/maverick/vim/maverick

« back to all changes in this revision

Viewing changes to src/term.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-05-04 11:13:42 UTC
  • mfrom: (1.1.8 upstream) (0.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090504111342-60miqybsixdpc345
Tags: 2:7.2.148-2ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/runtime/vimrc: "syntax on" is a sane default for non-tiny vim.
  - runtime/syntax/debcontrol.vim:
    + Add "metapackages" to the list of valid sections.
  - runtime/syntax/grub.vim:
    + Add Ubuntu-specific 'quiet' keyword.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Enable Python interpreter on basic builds.
  - Disable autoindent, line-wrapping, and backup files by default.
* Dropped changes, merged in Debian:
  - Add jaunty, karmic to the list of valid suites.
  - runtime/syntax/debsources.vim:
    + Add "jaunty" to debsourcesDistrKeyword
  - Create a .pot file for translations.
* Drop gutsy from the list of valid distro series, it's been EOLed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4920
4920
        key_name[0] = KEY2TERMCAP0(key);
4921
4921
        key_name[1] = KEY2TERMCAP1(key);
4922
4922
        if (key_name[0] == KS_KEY)
4923
 
            string[new_slen++] = key_name[1];   /* from ":set <M-b>=xx" */
 
4923
        {
 
4924
            /* from ":set <M-b>=xx" */
 
4925
#ifdef FEAT_MBYTE
 
4926
            if (has_mbyte)
 
4927
                new_slen += (*mb_char2bytes)(key_name[1], string + new_slen);
 
4928
            else
 
4929
#endif
 
4930
                string[new_slen++] = key_name[1];
 
4931
        }
4924
4932
        else
4925
4933
        {
4926
4934
            string[new_slen++] = K_SPECIAL;