xaizek / hstr (License: Apachev2) (since 2018-12-07)
Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history.
Commit bc935b1f08e1bbf202f6a2aca61bcd57b7244d73

Fixed #75 by removal of explicit background color specification - transparent terminals supported from now on.
Author: Martin Dvorak
Author date (UTC): 2014-05-18 03:46
Committer name: Martin Dvorak
Committer date (UTC): 2014-05-18 03:46
Parent(s): 3458c9ea9d70a3ad10da4353032182e3613ccfd7
Signing key:
Tree: d868a541a98a80a6bf2b2f12afce711295ea2b35
File Lines added Lines deleted
src/hstr.c 2 2
src/hstr_curses.c 1 0
File src/hstr.c changed (mode: 100644) (index e938e09..fb137f8)
... ... void loop_to_select(Hstr *hstr)
688 688 keypad(stdscr, TRUE); keypad(stdscr, TRUE);
689 689 noecho(); noecho();
690 690 color_start(); color_start();
691 color_init_pair(HH_COLOR_NORMAL, COLOR_WHITE, COLOR_BLACK);
691 color_init_pair(HH_COLOR_NORMAL, -1, -1);
692 692 if(hstr->hicolor) { if(hstr->hicolor) {
693 693 color_init_pair(HH_COLOR_HIROW, COLOR_WHITE, COLOR_GREEN); color_init_pair(HH_COLOR_HIROW, COLOR_WHITE, COLOR_GREEN);
694 color_init_pair(HH_COLOR_PROMPT, COLOR_BLUE, COLOR_BLACK);
694 color_init_pair(HH_COLOR_PROMPT, COLOR_BLUE, -1);
695 695 color_init_pair(HH_COLOR_DELETE, COLOR_WHITE, COLOR_RED); color_init_pair(HH_COLOR_DELETE, COLOR_WHITE, COLOR_RED);
696 696 } }
697 697
File src/hstr_curses.c changed (mode: 100644) (index df78e3a..0b765e7)
... ... void color_start()
17 17 terminalHasColors=has_colors(); terminalHasColors=has_colors();
18 18 if(terminalHasColors) { if(terminalHasColors) {
19 19 start_color(); start_color();
20 use_default_colors();
20 21 } }
21 22 } }
22 23
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/hstr

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/hstr

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master