Fix corrupted initial prompt
commitbd4956b555dfccb7546796866261d7946450536d
authorJiří Techet <techet@gmail.com>
Sun, 17 May 2015 16:22:32 +0000 (17 18:22 +0200)
committerJiří Techet <techet@gmail.com>
Sun, 17 May 2015 16:22:32 +0000 (17 18:22 +0200)
treeda27a4a159159c6aa010df6b2b6397691e8b8517
parent5cfc3f20f6525b1c7c8071808fbfdecd2f562189
Fix corrupted initial prompt

The initial prompt may get corrupted so it looks something like

any/src $ het-vm ~/projects/gea

instead of

techet@techet-vm ~/projects/geany/src $

This is just the initial display problem - when enter is pressed, the
second line already shows correct prompt.

It appears that VTE isn't fully initialized when starting the shell process
and when the shell start is delayed a bit (performed on idle), the prompt
looks correct.
src/vte.c