Mercurial > vim
comparison src/proto/message.pro @ 30226:b6b803ed4a53 v9.0.0449
patch 9.0.0449: there is no easy way to translate a key code into a string
Commit: https://github.com/vim/vim/commit/cdc839353f68ca43db6446e1b727fc7ba657b738
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon Sep 12 13:38:41 2022 +0100
patch 9.0.0449: there is no easy way to translate a key code into a string
Problem: There is no easy way to translate a string with a key code into a
readable string.
Solution: Add the keytrans() function. (closes #11114)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 12 Sep 2022 14:45:04 +0200 |
parents | bb0e525e1393 |
children |
comparison
equal
deleted
inserted
replaced
30225:51f58c2d23fa | 30226:b6b803ed4a53 |
---|---|
35 int msg_outtrans_len(char_u *str, int len); | 35 int msg_outtrans_len(char_u *str, int len); |
36 char_u *msg_outtrans_one(char_u *p, int attr); | 36 char_u *msg_outtrans_one(char_u *p, int attr); |
37 int msg_outtrans_len_attr(char_u *msgstr, int len, int attr); | 37 int msg_outtrans_len_attr(char_u *msgstr, int len, int attr); |
38 void msg_make(char_u *arg); | 38 void msg_make(char_u *arg); |
39 int msg_outtrans_special(char_u *strstart, int from, int maxlen); | 39 int msg_outtrans_special(char_u *strstart, int from, int maxlen); |
40 char_u *str2special_save(char_u *str, int is_lhs); | 40 char_u *str2special_save(char_u *str, int replace_spaces, int replace_lt); |
41 char_u *str2special(char_u **sp, int from); | 41 char_u *str2special(char_u **sp, int replace_spaces, int replace_lt); |
42 void str2specialbuf(char_u *sp, char_u *buf, int len); | 42 void str2specialbuf(char_u *sp, char_u *buf, int len); |
43 void msg_prt_line(char_u *s, int list); | 43 void msg_prt_line(char_u *s, int list); |
44 void msg_puts(char *s); | 44 void msg_puts(char *s); |
45 void msg_puts_title(char *s); | 45 void msg_puts_title(char *s); |
46 void msg_outtrans_long_attr(char_u *longstr, int attr); | 46 void msg_outtrans_long_attr(char_u *longstr, int attr); |