Search:

Type: Posts; User: rfk

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,625

    Thanks, but I already tried that before. Even a...

    Thanks, but I already tried that before. Even a fully colored prompt misbehaves.
  2. Replies
    4
    Views
    2,625

    You are right. This only happens when using a...

    You are right. This only happens when using a colored command line:


    //input = readline("cli> "); // Works
    input = readline("\033[1;37mcli>\033[0m "); // Works not

    Hrm.
  3. Replies
    4
    Views
    2,625

    How to handle long lines using GNU readline?

    Hey there. I implemented a small command line interpreter using the GNU readline library. This works really nice except for lines having much text input. As soon as the user reaches the console width...
  4. Replies
    2
    Views
    16,660

    Ah, that was the issue! Even with or without the...

    Ah, that was the issue! Even with or without the free() call the memory was never fully released. Thanks for your answer!
  5. Replies
    2
    Views
    16,660

    Memory leak with detached pthreads - how to free?

    Using detached POSIX threads I recognized that they leak memory. I've searched for a long time but most answers told me to use either pthread_join() or pthread_detach(). Of course I've tried both...
Results 1 to 5 of 5