Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cb65616

Browse files
Fixed history not writing new lines (#139)
1 parent a8d831e commit cb65616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git_gopher/HistoryCommandRunner.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ def _write_history(self, cmd: List[str]) -> None:
3636
cmd_str = ' '.join(cmd)
3737

3838
with open(config_dir + "/history", "a") as history:
39-
history.write(date_str + "|" + cmd_str + "|" + branch + getcwd())
39+
history.write(date_str + "|" + cmd_str + "|" + branch + "|"+getcwd()+"\n")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /