curses
How to get Shift+X / Alt+X keys in Curses ?
I am currently using this code to grab key-strokes, but I am missing e.g. Shift/Alt keys like Ctrl+Shift+S, Ctrl+Shift+↑, Alt+S, etc.[详细]
2023-02-04 11:15 分类:问答ruby curses: How to get ctrl/meta keys with
Im trying to Curses.getchr, but keys like Ctrl+s are not captured, is there any lib that would开发者_JAVA技巧 allow me to capture them and best of all something intuitive/readable like[详细]
2023-02-02 22:11 分类:问答PDcurses displaying question marks in place of intended character
Ive got a problem with PDcurses displaying some symbols as ? instead of the proper character. I made a little test program to display code page 437 to determine which symbols were working and which we[详细]
2023-01-28 18:36 分类:问答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 分类:问答python print not functioning correctly after using curses
I have created a simple gui with curses.开发者_运维百科 However, when the curses menu is finished the print function does not print anything to screen until the main program exits.[详细]
2023-01-15 16:17 分类:问答getyx return -1 -1
#include <stdio.h> #include <curses.开发者_如何转开发h> int main () { int y, x; getyx( curscr, y, x);[详细]
2023-01-09 14:21 分类:问答curses keyboard doesn't work after def_prog_mode and reset_prog_mode, refresh
I am trying to go from my ncurses UI to an editor via a system call and then back again.With the help of several friendly programmers h开发者_如何学编程ere, I learned how to use def_prog_mode and refr[详细]
2023-01-08 13:42 分类:问答ncurses and white-on-black
I can\'t seem to get white-on-black to work in curses when in color mode. If I don\'t call start_color, I get white-on-black. As soon as I call start_color, things start outputting in grey-on-black.[详细]
2023-01-06 14:31 分类:问答How can I specify a transparent background using Perl and Curses?
I am trying to get the background the standard terminal color instead of black but I can\'t seem to figure it out. When I use use_default_colors() the standards is just like not using colors but I wou[详细]
2023-01-06 11:58 分类:问答python curses.newwin not working
I\'m learning curses for the first time, and I decided to do it in python because it would be easier than constantly recompiling. However, I\'ve hit a hitch. When I try to update a seccond window, I g[详细]
2023-01-05 19:27 分类:问答