Skip to content

Commit aac40d5

Browse files
author
mongo
committed
Removed comments
1 parent 4d443a9 commit aac40d5

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/cmds_insert.c

-15
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@
1010
#include "marks.h"
1111
#include "cmds_visual.h"
1212

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-
2413
void do_insertmode(struct block * sb) {
2514

2615
if (sb->value == ctl('v') ) { // VISUAL SUBMODE
@@ -98,10 +87,6 @@ void do_insertmode(struct block * sb) {
9887
for(i = 0; i < strlen(cline); i++) ins_in_line(cline[i]);
9988
show_header(input_win);
10089

101-
// } else {
102-
// move(0, rescol + inputline_pos + 1);
103-
// show_header(input_win);
10490
}
105-
10691
return;
10792
}

0 commit comments

Comments
 (0)