mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-01 18:31:14 -03:00
Fix for an extra line at the end of the variable listing
Once again, fix the issue where some color cells aren't clickable
This commit is contained in:
@@ -160,7 +160,9 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
||||
# Use \x1e ("record separator") to distinguish between history items. The first
|
||||
# backslash is so Python passes one backslash to fish
|
||||
out, err = run_fish_cmd('for val in $history; echo -n $val \\x1e; end')
|
||||
return out.split('\x1e')
|
||||
result = out.split('\x1e')
|
||||
if result: result.pop()
|
||||
return result
|
||||
|
||||
|
||||
def do_get_color_for_variable(self, name):
|
||||
|
||||
Reference in New Issue
Block a user