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 937d2b2a3d3b00b0f7ddfd97490f89622ed2b96c

Removing dep on stack variable.
Author: Martin Dvorak
Author date (UTC): 2014-02-08 18:57
Committer name: Martin Dvorak
Committer date (UTC): 2014-02-08 18:57
Parent(s): 7b7e81519dfe6f04cf31f01dba5caa4592682c39
Signing key:
Tree: 02319d37dc6d0f97ae793f17252e36c94999e3c0
File Lines added Lines deleted
src/hstr.c 1 3
File src/hstr.c changed (mode: 100644) (index f3db5e8..b0c3fbb)
... ... void print_highlighted_selection_row(char *text, int y, int width)
319 319
320 320 char *print_selection(unsigned maxHistoryItems, char *prefix, HistoryItems *history) char *print_selection(unsigned maxHistoryItems, char *prefix, HistoryItems *history)
321 321 { {
322 char *result;
322 char *result=NULL;
323 323 unsigned selectionCount=make_selection(prefix, history, maxHistoryItems); unsigned selectionCount=make_selection(prefix, history, maxHistoryItems);
324 324 if (selectionCount > 0) { if (selectionCount > 0) {
325 325 result=selection[0]; result=selection[0];
326 } else {
327 result="";
328 326 } }
329 327
330 328 int height=get_max_history_items(stdscr); int height=get_max_history_items(stdscr);
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