ayyy
This commit is contained in:
parent
a8a0042180
commit
78e6031e94
18
.gdb_history
18
.gdb_history
@ -28,3 +28,21 @@ l
|
|||||||
b rl_complete
|
b rl_complete
|
||||||
c
|
c
|
||||||
where
|
where
|
||||||
|
c
|
||||||
|
where
|
||||||
|
l
|
||||||
|
frame 0
|
||||||
|
l
|
||||||
|
info handle
|
||||||
|
handle SIGINT pass
|
||||||
|
n
|
||||||
|
c
|
||||||
|
l
|
||||||
|
l screenmode_event_loop
|
||||||
|
b handle_input
|
||||||
|
c
|
||||||
|
n
|
||||||
|
n
|
||||||
|
b siginit
|
||||||
|
r
|
||||||
|
n
|
||||||
|
21
TODO
21
TODO
@ -1,14 +1,11 @@
|
|||||||
# BUGS
|
# BUGS
|
||||||
+ Changing text double frees:
|
+ Changing text double frees:
|
||||||
free(): double free detected in tcache 2
|
free(): double free detected in tcache 2
|
||||||
Aborted
|
Aborted
|
||||||
+ Normalize tabs and spaces
|
+ Ordering function declarations in global.h by alpha order is not smart
|
||||||
+ Ordering function declarations in global.h by alpha order is not smart
|
+ Handle unused parameters gracefully (#define UNUSED(x) (void)(x))
|
||||||
+ Handle unused parameters gracefully (#define UNUSED(x) (void)(x))
|
+ scrollbar() uses int literals?
|
||||||
+ Figure out what the deal is with changestring()
|
+ tab scrolls the results
|
||||||
+ scollbar() uses int literals?
|
|
||||||
+ ctrl+d segfaults
|
|
||||||
+ tab scrolls the results
|
|
||||||
|
|
||||||
+ recursive macro function to assign KEY_* default values; look for a new and shiny preprocessor?
|
# Misc
|
||||||
+ rename to Csoap
|
+ recursive macro function to assign KEY_* default values; look for a new and shiny preprocessor?
|
||||||
|
16
src/main.c
16
src/main.c
@ -124,9 +124,9 @@ void
|
|||||||
siginit(void){
|
siginit(void){
|
||||||
/* if running in the foreground */
|
/* if running in the foreground */
|
||||||
if (signal(SIGINT, SIG_IGN) != SIG_IGN) {
|
if (signal(SIGINT, SIG_IGN) != SIG_IGN) {
|
||||||
/* cleanup on the interrupt and quit signals */
|
/* cleanup on the interrupt and quit signals */
|
||||||
signal(SIGINT, myexit);
|
signal(SIGINT, myexit);
|
||||||
signal(SIGQUIT, myexit);
|
signal(SIGQUIT, myexit);
|
||||||
}
|
}
|
||||||
/* cleanup on the hangup signal */
|
/* cleanup on the hangup signal */
|
||||||
signal(SIGHUP, myexit);
|
signal(SIGHUP, myexit);
|
||||||
@ -141,15 +141,7 @@ siginit(void){
|
|||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
|
|
||||||
if (linemode == false) {
|
if (linemode == false) {
|
||||||
signal(SIGINT, SIG_IGN); /* ignore interrupts */
|
signal(SIGWINCH, sigwinch_handler);
|
||||||
#if defined(KEY_RESIZE) && !defined(__DJGPP__)
|
|
||||||
struct sigaction winch_action;
|
|
||||||
|
|
||||||
winch_action.sa_sigaction = sigwinch_handler;
|
|
||||||
sigemptyset(&winch_action.sa_mask);
|
|
||||||
winch_action.sa_flags = SA_SIGINFO;
|
|
||||||
sigaction(SIGWINCH,&winch_action,NULL);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -118,6 +118,8 @@ static int process_mouse(){
|
|||||||
resetcmd();
|
resetcmd();
|
||||||
return(false);
|
return(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void rlinit(){
|
void rlinit(){
|
||||||
|
Loading…
Reference in New Issue
Block a user