You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the ability to map file descriptors to PrintConsole objects, so that an application can print to several and display any of them as needed (either on the top or bottom screen, or switching between consoles like Linux's TTYs for example).
Smaller Details:
Involves figuring out what newlib passes to the devoptab_t's write_r callback
Add a table in console.c to map FDs to consoles, and a function to create mappings
In con_write use the passed fd to select the console to render to
Why would this feature be useful?
This can make debugging better by separating streams into different consoles for different components of an application
In the case of console-only apps, this can add the ability to have separate windows for tasks/sub-applications
Feature Request
What feature are you suggesting?
Overview:
PrintConsoleobjects, so that an application can print to several and display any of them as needed (either on the top or bottom screen, or switching between consoles like Linux's TTYs for example).Smaller Details:
devoptab_t'swrite_rcallbackconsole.cto map FDs to consoles, and a function to create mappingscon_writeuse the passedfdto select the console to render toWhy would this feature be useful?