What is the ways for seperating layout for output and input in console app ?



  • I want to create a chat console app that has an interface like below.
    ________________________________.
    client1: msg1
    client2: msg2
    client2: msg3
    client1: msg4
    client3: msg5
    client1: msg6 <this part should scroll msg up>
    ________________________________.
    input: ..................................................................... <this part should fix position at bottom>
    ________________________________.

    Which is a Qt class or non-Qt library can use in this purpose ?

    ps.sorry, i', not good in english.


  • Moderators

    Hi! I'd say ncurses is somewhat the standard library for that.



  • Thanks for suggestions I think ncurses is the best way for this situation.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.