summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormongo <mongo@iomega>2016-04-25 16:50:40 -0300
committermongo <mongo@iomega>2016-04-25 16:50:40 -0300
commitaac40d577f60c835c97ccf8d240a6d647bd1d78b (patch)
tree5b9a2ea4c24f3a17b87c60bf2354555ee6fbae73
parent4d443a9c052b010e3c0557a13bef88339b71472c (diff)
Removed commentsv0.3.0
-rw-r--r--src/cmds_insert.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/cmds_insert.c b/src/cmds_insert.c
index 30df383..ca87fc3 100644
--- a/src/cmds_insert.c
+++ b/src/cmds_insert.c
@@ -10,17 +10,6 @@
#include "marks.h"
#include "cmds_visual.h"
-/* used for wchar_t that has more than 1 column width
-int get_real_inputline_pos() {
- int pos;
- int sum = 0;
- for (pos = 0; pos < wcslen(inputline) && sum < inputline_pos; pos++) {
- sum += wcwidth(inputline[pos]);
- }
- return pos;
-}
-*/
-
void do_insertmode(struct block * sb) {
if (sb->value == ctl('v') ) { // VISUAL SUBMODE
@@ -98,10 +87,6 @@ void do_insertmode(struct block * sb) {
for(i = 0; i < strlen(cline); i++) ins_in_line(cline[i]);
show_header(input_win);
-// } else {
-// move(0, rescol + inputline_pos + 1);
-// show_header(input_win);
}
-
return;
}