Ingo Schwarze <[email protected]> wrote:
 |Steffen Nurpmeso wrote on Wed, Dec 23, 2015 at 11:45:36AM +0100:
 |> Ingo Schwarze <[email protected]> wrote:

 |>> For example, colrm(1).
 |>>
 |>> 4. The backspace character (U+0008) backs up by one display position
 |>>    rather than by one character.  That causes miscounting when
 |>>    backspace follows a zero-width or double-width character.
 |
 |> this however is unfortunately common behaviour for terminals, too.

 |So, remember this rule:
 |
 | +----------------------------------------------------------------+
 | | Backspace removes the previous character, no matter its width. |
 | +--------++--------------------------------------------++--------+
 |          ||                                            ||
 |          ||                                            ||

                               __
                             .d$$b
                           .' TO$;\
                          /  : TP._;
                         / _.;  :Tb|
                        /   /   ;j$j
                    _.-"       d$$$$
                  .' ..       d$$$$;
                 /  /P'      d$$$$P. |\
                /   "      .d$$$P' |\^"l
              .'           `T$P^"""""  :
          ._.'      _.'                ;
       `-.-".-'-' ._.       _.-"    .-"
     `.-" _____  ._              .-"
    -(.g$$$$$$$b.              .'
      ""^^T$$$P^)            .(:
        _/  -"  /.'         /:/;
     ._.'-'`-'  ")/         /;/;
  `-.-"..--""   " /         /  ;
 .-" ..--""        -'          :
 ..--""--.-"         (\      .-(\
   ..--""              `-\(\/;`
     _.                      :
                             ;`-
                            :\
                            ;  bug

--steffen

Reply via email to