Skip to content

Commit

Permalink
* ui.c: ASCII symbols and signs are added to keysym_table.
Browse files Browse the repository at this point in the history
  • Loading branch information
arakiken committed Aug 11, 2023
1 parent 91b97a0 commit 8cd69a4
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2023-08-11 Araki Ken <arakiken@users.sf.net>

* ui.c: ASCII symbols and signs are added to keysym_table.

2023-07-29 Araki Ken <arakiken@users.sf.net>

* ui_screen.c: convert_char_index_to_x() never returns minus value.
Expand Down
1 change: 1 addition & 0 deletions doc/ja/README.ja
Original file line number Diff line number Diff line change
Expand Up @@ -1618,6 +1618,7 @@ comment -*- mode: text; tab-width:2; indent-tabs-mode:nil; coding:euc-jp -*-
--emojifmt=value: emoji_file_format
--rz=value : resize_mode
--recvdir=value : receive_directory
--point=value : use_point_size
--aafont(=bool) : use_aafont (mlterm-fb, mlterm-wl or mlterm-sdl2 ��)
--multivram(=bool) : separate_wall_picture (mlterm-fb on NetBSD/x68k ��)
--slp(=bool) : start_with_local_pty (Android ��)
Expand Down
23 changes: 23 additions & 0 deletions uitoolkit/win32/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ static struct {
KeySym /* WORD */ ksym; /* 16bit */

} keysym_table[] = {
/* Sort ascending by ASCII code. */
{"BackSpace", XK_BackSpace},
{"Delete", XK_Delete},
{"Down", XK_Down},
Expand Down Expand Up @@ -59,6 +60,28 @@ static struct {
{"Tab", XK_Tab},
{"Up", XK_Up},
{"Zenkaku_Hankaku", XK_Zenkaku_Hankaku},
{"ampersand", '&'},
{"apostrophe", '\''},
{"asterisk", '*'},
{"at", '@'},
{"colon", ':'},
{"comma", ','},
{"dollar", '$'},
{"equal", '='},
{"exclam", '!'},
{"greater", '>'},
{"less", '<'},
{"minus", '-'},
{"numbersign", '#'},
{"parenleft", '('},
{"parenright", ')'},
{"percent", '%'},
{"period", '.'},
{"plus", '+'},
{"question", '?'},
{"quotedbl", '\"'},
{"semicolon", ';'},
{"slash", '/'},
{"space", ' '},
};

Expand Down

0 comments on commit 8cd69a4

Please sign in to comment.