Skip to main content
Advice
0 votes
4 replies
58 views

int main (){ initscr(); cbreak(); noecho(); keypad(stdscr,true); nodelay(stdscr,true); while (1){ ch = getch(); if (ch == 27){ int ch2 = getch(); if (ch2 == ERR){ ...
drk's user avatar
  • 33
3 votes
2 answers
115 views

I am trying to make a user interface and want to print the button that is selected as bold. I looked for internet but I did not find anything meaningful I tried to make with: wborder(this->win, ...
drk's user avatar
  • 33
3 votes
1 answer
152 views

Technically its a vector<vector<vector<const char *>>> but I'm using it as a vector<vector<cstrings>> I have been stuck at this issue for weeks and I do not understand it....
Yeetato21's user avatar
5 votes
1 answer
163 views

I am working on a program to create menus with colors using ncurses on Linux: #include <stdio.h> #include <stdlib.h> #include <ncurses.h> #include <ncurses/menu.h> int main() {...
new_vintage's user avatar
0 votes
0 answers
63 views

Under Linux, is there a standard on how a terminal using ncurses (or ncurses itself) handles setting the color contents for the new area of an expanded terminal window? It appears the last background ...
user3161924's user avatar
  • 2,607
2 votes
1 answer
58 views

I built a ELF64 (x86_64) console app on a Debian based 686 OS that uses ncursesw6. When I run it in Fedora 42 x86_64, I get: ./myappx64: /lib64/libtinfo.so.6: no version information available (...
user3161924's user avatar
  • 2,607
1 vote
2 answers
115 views

I am creating an ncurses program in C++, where I redefine colors. But the colors are completely different on Windows than on Linux. On Linux, the colors work fine and look as intended. But on Windows, ...
Slugarius Maximur's user avatar
0 votes
1 answer
245 views

I have a Rust function named init that calls the following ncurses functions (in the following order): initscr(), cbreak(), keypad(stdscr, TRUE), getch() followed by endwin(). The init function looks ...
Radon's user avatar
  • 126
1 vote
1 answer
123 views

I am attempting to build the open source project RpcExplorer on MacOS Sequoia 15.5 (Apple Silicon) and encountered the errors below. This project built fine on at least MacOS 14, and I have not tried ...
merlin2011's user avatar
  • 76.7k
0 votes
0 answers
91 views

Is there such a thing? Since I heard that ncurses doesn’t support multithreading, I’m currently looking for another way to update the screen from both user input and events sent by other threads. For ...
Thomas42's user avatar
1 vote
1 answer
118 views

I'm trying to detect when the left mouse button is held down using ncurses in C++. I know that to check if the mouse button has been pressed we can use the bstate bitmap like so: event.bstate & ...
vintriguna's user avatar
-1 votes
1 answer
70 views

I would like to be able to get the character in the buffer windows. Like the contrary of waddstr ? int main(void) { initscr(); printw("LINES = %d\n", LINES); // Now y=0 / x=...
Tom's's user avatar
  • 2,498
1 vote
1 answer
85 views

I'm trying to make a text editor in C for windows (11) using ncurses, as far as i can tell I've gotten every other input working but ctrl+v still pastes from the clipboard. i already have raw and nonl ...
Teeth's user avatar
  • 49
1 vote
1 answer
100 views

In my program I display the output on the screen using ncurses (just characters in specific places on the screen, no advanced features). Previously, it worked. I did not install, uninstall, change any ...
virolino's user avatar
  • 2,391
1 vote
1 answer
440 views

In our team we all use PyCharm as IDE and the default is to run scripts in Run Console. However, Run Console doesn't support curses. I'm distributing some code through GitHub to other people and I'd ...
Knyq's user avatar
  • 45

15 30 50 per page
1
2 3 4 5
129