curses
Python curse getmouse function?
I\'m trying to find a way to get mouse click event in curse module in Python. I read the document on http://docs.python.org/library/curses.开发者_如何学编程html and it suggested to do[详细]
2023-01-04 18:15 分类:问答What's wrong with my code? (pdcurses/getmaxyx)
It gives me an access violation on the getmaxyx line (second line in the main function) and also gives me these two warnings:[详细]
2023-01-03 23:32 分类:问答get the text in the display with ncurses
Is there开发者_开发问答 any way to get back the characters outputted into a variable on ncurses ?[详细]
2023-01-03 16:46 分类:问答Linker warnings when using stdscr (ncurses)
Okay, so I\'m getting these warnings whenever I try to use stdscr in pdcurses: LIN开发者_如何学PythonK : warning LNK4098: defaultlib \"LIBC\" conflicts with use of other libs; use /NODEFAULTLIB:libra[详细]
2023-01-03 16:32 分类:问答Can't convert from 'int' to 'int *'
So I hav开发者_运维百科e these lines of code: int maxY, maxX; getmaxyx(stdscr, &maxY, &maxX);[详细]
2023-01-03 05:57 分类:问答KEY_ENTER vs '\n'?
When I\'m using PDcurses and I try to have a while loop exit when the enter key is pressed with while(key != KEY_ENTER), the while loop never exits. However, when I try to have the same loop exit with[详细]
2023-01-02 15:47 分类:问答Perl Curses::UI
I am trying to use the library Curses:UI from http://search.cpan.org/dist/Curses-UI/ to build a UI on linux karmic.[详细]
2023-01-02 00:41 分类:问答Create two separate windows in terminal
Picture a terminal. There are two windows inside that terminal. One on top, one on bottom. The top one is much bigger. The top one receives asynchronous updates. The bottom one is for user input.[详细]
2022-12-26 16:24 分类:问答How do I delete a curse window in python and restore background window?
I\'m working on python curses and I have an initial window with initscr(). Then I create several new windows to overlap it, I want to know if I can delete these windows and restore the standard screen[详细]
2022-12-25 09:08 分类:问答How to scroll text in Python/Curses subwindow?
In my Python script which uses Curses, I have a subwin to which some text is assigned. Because the text length may be longer than the window size, the text should be scrollable.[详细]
2022-12-24 20:04 分类:问答