elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
tui
/
curses3.c
File editor
/* * curses library workaround - Part III * * routines mostly used for ttyclock port */ #include "curses.h" #include <stdio.h> void mvwaddch(WINDOW *w, int y, int x, int ch) { mvaddch(y, x, ch); } void mvwaddstr(WINDOW *w, int y, int x, char *str) { move(y, x); printw(str); } void mvwprintw(WINDOW *w, int y, int x, char *fmt, ...) { va_list ptr; move(y, x); va_start(ptr, fmt); vfprintf(stdout,fmt,ptr); va_end(ptr); } void mvwin(WINDOW *w, int y, int x) { //yoff = y; //xoff = x; } void wattron(WINDOW *w, int a) { if (a & (A_BLINK|A_BOLD)) attroff(-1); attron(a); } void wattroff(WINDOW *w, int a) { if (a & (A_BLINK|A_BOLD)) attroff(-1); attroff(a); } void wbkgdset(WINDOW *w, int a) { printf("\033[7m"); attron(a); } void wrefresh(WINDOW *w) { printf("\033[m"); }
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history