… | |
… | |
948 | } |
948 | } |
949 | |
949 | |
950 | rend_t rend = SET_FONT (rstyle, FONTSET (rstyle)->find_font (c)); |
950 | rend_t rend = SET_FONT (rstyle, FONTSET (rstyle)->find_font (c)); |
951 | |
951 | |
952 | // if the character doesn't fit into the remaining columns... |
952 | // if the character doesn't fit into the remaining columns... |
953 | if (screen.cur.col >= last_col - width && last_col >= width) |
953 | if (screen.cur.col > last_col - width && last_col >= width) |
954 | { |
954 | { |
955 | // ...output spaces |
955 | // ...output spaces |
956 | c = ' '; |
956 | c = ' '; |
957 | // and try the same character next loop iteration |
957 | // and try the same character next loop iteration |
958 | --str; |
958 | --str; |
… | |
… | |
1948 | /* ------------------------------------------------------------------------- */ |
1948 | /* ------------------------------------------------------------------------- */ |
1949 | void |
1949 | void |
1950 | rxvt_term::scr_bell () |
1950 | rxvt_term::scr_bell () |
1951 | { |
1951 | { |
1952 | #ifndef NO_BELL |
1952 | #ifndef NO_BELL |
|
|
1953 | |
1953 | # ifndef NO_MAPALERT |
1954 | # ifndef NO_MAPALERT |
1954 | # ifdef MAPALERT_OPTION |
1955 | # ifdef MAPALERT_OPTION |
1955 | if (options & Opt_mapAlert) |
1956 | if (options & Opt_mapAlert) |
1956 | # endif |
1957 | # endif |
1957 | XMapWindow (display->display, TermWin.parent[0]); |
1958 | XMapWindow (display->display, TermWin.parent[0]); |
1958 | # endif |
1959 | # endif |
|
|
1960 | |
1959 | if (options & Opt_visualBell) |
1961 | if (options & Opt_visualBell) |
1960 | { |
1962 | { |
1961 | scr_rvideo_mode (!rvideo); /* refresh also done */ |
1963 | scr_rvideo_mode (!rvideo); /* refresh also done */ |
|
|
1964 | rxvt_usleep (VISUAL_BELL_DURATION); |
1962 | scr_rvideo_mode (!rvideo); /* refresh also done */ |
1965 | scr_rvideo_mode (!rvideo); /* refresh also done */ |
1963 | } |
1966 | } |
1964 | else |
1967 | else |
1965 | XBell (display->display, 0); |
1968 | XBell (display->display, 0); |
|
|
1969 | |
1966 | #endif |
1970 | #endif |
1967 | } |
1971 | } |
1968 | |
1972 | |
1969 | /* ------------------------------------------------------------------------- */ |
1973 | /* ------------------------------------------------------------------------- */ |
1970 | /* ARGSUSED */ |
1974 | /* ARGSUSED */ |