--- rxvt-unicode/src/screen.C 2005/06/26 19:59:29 1.165 +++ rxvt-unicode/src/screen.C 2005/08/05 16:42:44 1.167 @@ -950,7 +950,7 @@ rend_t rend = SET_FONT (rstyle, FONTSET (rstyle)->find_font (c)); // if the character doesn't fit into the remaining columns... - if (screen.cur.col >= last_col - width && last_col >= width) + if (screen.cur.col > last_col - width && last_col >= width) { // ...output spaces c = ' '; @@ -1950,19 +1950,23 @@ rxvt_term::scr_bell () { #ifndef NO_BELL + # ifndef NO_MAPALERT # ifdef MAPALERT_OPTION if (options & Opt_mapAlert) # endif XMapWindow (display->display, TermWin.parent[0]); # endif + if (options & Opt_visualBell) { scr_rvideo_mode (!rvideo); /* refresh also done */ + rxvt_usleep (VISUAL_BELL_DURATION); scr_rvideo_mode (!rvideo); /* refresh also done */ } else XBell (display->display, 0); + #endif }