Commit Graph
3 Commits
Author SHA1 Message Date
Yash Lala 4c8f4f6cd9 Use Strnew_charp() to create char * instead of strdup(). 2022-06-03 17:04:07 -07:00
Yash Lala f812275fe6 refactor: Substitute some clunky code with a strdup(). 2022-06-02 17:47:05 -07:00
Yash Lala 26284ff627 Set rc_dir based on W3M_DIR environment variable.
By default, w3m puts all of its data in the `~/.w3m/` directory
(creating it as necessary). This was not configurable in any way.

This commit adds some quick reconfigurability -- when the "W3M_DIR"
environment variable is set, w3m will use that location instead. The
default location is unchanged.

Fixes #130.
2022-01-14 11:06:46 -08:00