We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d443a9 commit aac40d5Copy full SHA for aac40d5
src/cmds_insert.c
@@ -10,17 +10,6 @@
10
#include "marks.h"
11
#include "cmds_visual.h"
12
13
-/* used for wchar_t that has more than 1 column width
14
-int get_real_inputline_pos() {
15
- int pos;
16
- int sum = 0;
17
- for (pos = 0; pos < wcslen(inputline) && sum < inputline_pos; pos++) {
18
- sum += wcwidth(inputline[pos]);
19
- }
20
- return pos;
21
-}
22
-*/
23
-
24
void do_insertmode(struct block * sb) {
25
26
if (sb->value == ctl('v') ) { // VISUAL SUBMODE
@@ -98,10 +87,6 @@ void do_insertmode(struct block * sb) {
98
87
for(i = 0; i < strlen(cline); i++) ins_in_line(cline[i]);
99
88
show_header(input_win);
100
89
101
-// } else {
102
-// move(0, rescol + inputline_pos + 1);
103
-// show_header(input_win);
104
90
}
105
106
91
return;
107
92
0 commit comments