Ticket #38168

DECCARA/DECRARAの適用範囲誤り

Eröffnet am: 2018-03-28 17:59 Letztes Update: 2018-03-30 10:06

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
Keine
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

DECCARA / DECRARA での属性の適用範囲が、1セル分左に広く適用される。

再現方法

以下のスクリプトを実行。

printf "\033[*2x\033[2J"

seqs=$(seq 9)

for i in $seqs; do
        xend=$((21 - $i))
        yend=$((20 - $i))
        char=$((47 + $i))

        printf '\033[%d;%d;%d;%d;%d$x' $char $i $i $yend $xend
done

for i in $seqs; do
        xend=$((21 - $i))
        yend=$((20 - $i))
        color=$((40 + $i % 8))
        printf '\033[%d;%d;%d;%d;%d$r' $i $i $yend $xend $color
done

printf "\033[20H\033[0*x"

sleep 1

# 画面再表示
printf "\033[7t"
同じ数字は同じ色になるのが正しい。実行直後の表示状態は正しいが内部的には間違っており、画面再表示で問題が表に出る。

Ticket-Verlauf (3/4 Historien)

2018-03-28 17:59 Aktualisiert von: doda
  • New Ticket "DECCARA/DECRARAの適用範囲誤り" created
2018-03-29 14:48 Aktualisiert von: doda
  • Details Updated
2018-03-30 10:00 Aktualisiert von: doda
  • Lösung Update from Keine to Gefixt
Kommentar

r7083で修正

2018-03-30 10:06 Aktualisiert von: doda
  • Status Update from Offen to Geschlossen

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden