ncurses
How can I calculate optimal column widths?
I have a small set of column data values that I want to display in a开发者_开发知识库 variable-width display. One column has a small range of plausible sizes (say, 8-10 characters), one displays a UUI[详细]
2023-01-29 02:24 分类:问答Keep ncurses window on foreground
My application is using ncurses and has several windows that are continuously being updated. In that application I have one window acting as a \'message box\' (e.g. dialog) showing up when the user h[详细]
2023-01-26 15:45 分类:问答ncurses not deleting character
Alright, I\'m working on a (supposed-to-be) simple counting script using ncurses. Everytime it increments the number, I need it to delete the previous number before adding another number, so that it u[详细]
2023-01-26 08:11 分类:问答detect automatic key-repeats in curses
I\'m writing a little text mode application using curses on Linux. For keyboard input I use the curses functions. Key auto-repeats work, e.g. if I hold a key down I get multiple key events until I re[详细]
2023-01-25 10:44 分类:问答How do I save the character occupying a certain space in curses?
I\'m beginning to try making some simple console games in C++ with curses, and my first project is just a large room to walk around in. I figure I\'m gonna implement walking by having the program save[详细]
2023-01-23 11:36 分类:问答Is there a terminal widget library compatible with Python 3?
I\'m looking for a terminal UI library providing widgets like buttons, che开发者_如何学JAVAckboxes and so on, that is compatible with python3.[详细]
2023-01-23 00:35 分类:问答Linux: Pipe into Python (ncurses) script, stdin and termios
Apparently this is almost a duplicate of \"Bad pipe filedescriptor when reading from stdin in python - Stack Overflow\"; however, I believe this case is slightly more complicated (and it is not Window[详细]
2023-01-21 18:31 分类:问答Create a function to check for key press in Unix using ncurses
I have been looking for an equivalent to kbhit() and I have read several forums on this subject, and the majority seem to suggest using ncurses.[详细]
2023-01-21 06:43 分类:问答Displaying log data in latest-first format
I like having log data in a last-first form (the same way most blogs and news sites organize their posts).[详细]
2023-01-20 16:14 分类:问答Debugging ncurses with Eclipse CDT
I\'m writing a C++ application using nc开发者_JAVA技巧urses in Eclipse CDT however I can\'t run/debug my app in eclipse because the console in eclipse does not work with curses. My app runs fine if I[详细]
2023-01-19 21:44 分类:问答