Changeset bf61d3a in mainline for uspace/app/edit/edit.c
- Timestamp:
- 2010-11-26T01:34:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 273b958
- Parents:
- 4b9a410 (diff), 7e752b2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/edit/edit.c
r4b9a410 rbf61d3a 781 781 c = str_decode(row_buf, &pos, size); 782 782 if (c != '\t') { 783 printf("%lc", c);783 printf("%lc", (wint_t) 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 printf("%*s", scr_columns - 1 - n, ""); 832 833 int pos = scr_columns - 1 - n; 834 printf("%*s", pos, ""); 833 835 fflush(stdout); 834 836 console_set_style(con, STYLE_NORMAL); … … 1153 1155 console_set_pos(con, 0, scr_rows - 1); 1154 1156 console_set_style(con, STYLE_INVERTED); 1155 printf(" %*s ", -(scr_columns - 3), str); 1157 1158 int pos = -(scr_columns - 3); 1159 printf(" %*s ", pos, str); 1156 1160 fflush(stdout); 1157 1161 console_set_style(con, STYLE_NORMAL);
Note:
See TracChangeset
for help on using the changeset viewer.