summaryrefslogtreecommitdiffstats
path: root/src.scim2/cmds_normal.c
diff options
context:
space:
mode:
authormongo <mongo@iomega>2016-04-13 23:52:39 -0300
committermongo <mongo@iomega>2016-04-13 23:52:39 -0300
commit4985a3a69b98dad4795354d3aa816a739812d7e1 (patch)
tree18a7381196f1e54eaa75924bfff0b2d4fdab8dad /src.scim2/cmds_normal.c
parentb235127d0b42f99ee3bc9ecee7abac184282f0c4 (diff)
More fixes for entering full width chars
Diffstat (limited to 'src.scim2/cmds_normal.c')
-rwxr-xr-xsrc.scim2/cmds_normal.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src.scim2/cmds_normal.c b/src.scim2/cmds_normal.c
index 2c14d1e..151e235 100755
--- a/src.scim2/cmds_normal.c
+++ b/src.scim2/cmds_normal.c
@@ -355,6 +355,7 @@ void do_normalmode(struct block * buf) {
wrefresh(input_win);
handle_cursor();
inputline_pos = 0;
+ real_inputline_pos = 0;
break;
// enter visual mode
@@ -379,6 +380,7 @@ void do_normalmode(struct block * buf) {
print_mode(input_win);
wrefresh(input_win);
inputline_pos = 0;
+ real_inputline_pos = 0;
break;
// EDITION COMMANDS
@@ -387,6 +389,7 @@ void do_normalmode(struct block * buf) {
if (locked_cell(currow, curcol)) return;
clr_header(input_win, 0);
inputline_pos = 0;
+ real_inputline_pos = 0;
if (start_edit_mode(buf, 'v')) show_header(input_win);
break;
@@ -395,6 +398,7 @@ void do_normalmode(struct block * buf) {
if (locked_cell(currow, curcol)) return;
clr_header(input_win, 0);
inputline_pos = 0;
+ real_inputline_pos = 0;
if (start_edit_mode(buf, 's')) show_header(input_win);
else {
sc_info("No string value to edit");
@@ -1014,6 +1018,7 @@ void do_normalmode(struct block * buf) {
insert_edit_submode='=';
chg_mode(insert_edit_submode);
inputline_pos = 0;
+ real_inputline_pos = 0;
ins_in_line(buf->value);
show_header(input_win);
}