Can we fix the terminal(console) size according to data displayed?
I am working in c++,and my O.S is kubuntu.Using c++ i can align the data displayed in cosole,
but before i want to change the terminal to a particular size.otherwise it is not aligned the data.
Any way to change the size of terminal according to the data dispalyed? If anybody knows about this .please reply me soon..
Renjith VR
0
Newbie Poster
Recommended Answers
Jump to PostInstead of attempting to change the size of the terminal (not sure that is even possible) figure out how to align the data correctly. That will probably require knowledge of and use of terminfo information because every terminal may be different.
All 4 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Renjith VR
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Narue
5,707
Bad Cop
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.