Procházet zdrojové kódy

further update

master
Emil Williams před 3 měsíci
rodič
revize
81eeb80bc8
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 5432DB986FDBCF8A
2 změnil soubory, kde provedl 5 přidání a 4 odebrání
  1. +5
    -4
      client/moontalk-cli.c
  2. +0
    -0
      client/moontalk.rb

+ 5
- 4
client/moontalk-cli.c Zobrazit soubor

@@ -58,7 +58,9 @@
#define streq(a,b) (!strcmp(a,b))
#define strneq(a,b,c) (!memcmp(a,b,c))

int g_y, g_x;
#define g_y COLS
#define g_x LINES

int g_sockfd = -1;

void fillline(int y, int xstart, char c) {
@@ -79,15 +81,14 @@ void decoration(void) {

int g_hardrefresh = 0;

void init_screen(int x) {
void init_screen(int x) {
(void)x;
WINDOW * header, * body, * input;
signal(SIGWINCH, SIG_IGN);

endwin();
struct winsize w;
ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
g_y = w.ws_row;
g_x = w.ws_col;
initscr();
raw();
noecho();


+ 0
- 0
client/moontalk.rb Zobrazit soubor


Načítá se…
Zrušit
Uložit