Commit Briefs


Marcel Rodrigues

Fix buffer sizes.






Marcel Rodrigues

Use const when possible.


Marcel Rodrigues

Make prompt strings configurable.



Marcel Rodrigues

Fix behavior for empty inputs.



Marcel Rodrigues

Remove wrap-around behavior from 'j' & 'k'.

That behavior provided a way to easily move between the top and bottom of listing. However, this is no longer needed due to the recent addition of 'g' & 'G'. The new behavior is also more similar to what we are used to in other programs.


Marcel Rodrigues

Only change scroll if necessary.


Marcel Rodrigues

Reorganize string buffers.

Global buffers used to have descriptive names, but as the need to more temporary buffer appears we have to decide between creating new global buffers or reusing existing ones disregarding their names. Therefore, to avoid the creation of too many buffers or the use of confusing variable names, this change give more generic names to buffers, except for INPUT, which is only used for input. The wide buffer has been made into a global buffer. All global string buffers now have the same size, BUFLEN.


Marcel Rodrigues

Remove some unnecessary parentheses.