Changes in uspace/app/edit/edit.c [7e752b2:9f1362d4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/edit/edit.c
r7e752b2 r9f1362d4 781 781 c = str_decode(row_buf, &pos, size); 782 782 if (c != '\t') { 783 printf("%lc", (wint_t)c);783 printf("%lc", c); 784 784 s_column += 1; 785 785 } else { … … 830 830 int n = printf(" %d, %d: File '%s'. Ctrl-Q Quit Ctrl-S Save " 831 831 "Ctrl-E Save As", coord.row, coord.column, fname); 832 833 int pos = scr_columns - 1 - n; 834 printf("%*s", pos, ""); 832 printf("%*s", scr_columns - 1 - n, ""); 835 833 fflush(stdout); 836 834 console_set_style(con, STYLE_NORMAL); … … 1155 1153 console_set_pos(con, 0, scr_rows - 1); 1156 1154 console_set_style(con, STYLE_INVERTED); 1157 1158 int pos = -(scr_columns - 3); 1159 printf(" %*s ", pos, str); 1155 printf(" %*s ", -(scr_columns - 3), str); 1160 1156 fflush(stdout); 1161 1157 console_set_style(con, STYLE_NORMAL);
Note:
See TracChangeset
for help on using the changeset viewer.