Changeset 389
- Timestamp:
- 07/27/07 19:55:08 (1 year ago)
- Files:
-
- branches/angband-3.0.8/lib/pref/pref-x11.prf (modified) (1 diff)
- branches/angband-3.0.8/src/cmd4.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/angband-3.0.8/lib/pref/pref-x11.prf
r54 r389 158 158 T:,:2C:3C 159 159 T:<:2C:3C 160 T:-:2D:3D161 T:=:2D:3D162 160 T:.:2E:3E 163 161 T:>:2E:3E branches/angband-3.0.8/src/cmd4.c
r384 r389 2953 2953 2954 2954 int n = 0; 2955 2956 char tmp[1024]; 2957 2955 int curs_x, curs_y; 2956 2957 char tmp[1024] = ""; 2958 2959 /* Get cursor position */ 2960 Term_locate(&curs_x, &curs_y); 2958 2961 2959 2962 /* Flush */ … … 2967 2970 ch = inkey(); 2968 2971 2969 text_out_hook = text_out_to_screen;2970 2972 2971 2973 /* Read the pattern */ … … 2976 2978 buf[n] = 0; 2977 2979 2978 /* echo */ 2979 ascii_to_text(tmp, sizeof(tmp), buf+n-1); 2980 text_out(tmp); 2981 2980 /* Get representation of the sequence so far */ 2981 ascii_to_text(tmp, sizeof(tmp), buf); 2982 2983 /* Echo it after the prompt */ 2984 Term_erase(curs_x, curs_y, 80); 2985 Term_gotoxy(curs_x, curs_y); 2986 Term_addstr(-1, TERM_WHITE, tmp); 2987 2982 2988 /* Do not process macros */ 2983 2989 inkey_base = TRUE;
