Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b9e076139 | ||
|
|
e1cce67221
|
||
|
|
406bd726e2
|
||
|
|
271babc8f1 | ||
|
|
6e60b16e36
|
||
|
|
365873b9bb
|
No files matched your search
@@ -10,7 +10,7 @@ Les tableaux reflètent les valeurs de `kitty/options/definition.py`. La palette
|
|||||||
de commandes (`Ctrl+Shift+F3`) liste en direct toutes les actions, leur touche
|
de commandes (`Ctrl+Shift+F3`) liste en direct toutes les actions, leur touche
|
||||||
et leur catégorie, y compris les actions sans raccourci.
|
et leur catégorie, y compris les actions sans raccourci.
|
||||||
|
|
||||||
> **Aide rapide** : `Ctrl+Shift+H` (`kitty_mod+H`) ouvre le panneau latéral qui
|
> **Aide rapide** : `Ctrl+Shift+Alt+H` (`kitty_mod+alt+h`) ouvre le panneau latéral qui
|
||||||
> liste tous les raccourcis, avec recherche et catégories. Dans le shell kitty,
|
> liste tous les raccourcis, avec recherche et catégories. Dans le shell kitty,
|
||||||
> `help` fait la même chose.
|
> `help` fait la même chose.
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ et leur catégorie, y compris les actions sans raccourci.
|
|||||||
| `Ctrl+Shift+Alt+V` (`kitty_mod+alt+v`) | Colle une entrée de l'historique du presse-papiers. |
|
| `Ctrl+Shift+Alt+V` (`kitty_mod+alt+v`) | Colle une entrée de l'historique du presse-papiers. |
|
||||||
| `Ctrl+Shift+Alt+F` (`kitty_mod+alt+f`) | Demande une recherche floue, puis colle l'entrée choisie. |
|
| `Ctrl+Shift+Alt+F` (`kitty_mod+alt+f`) | Demande une recherche floue, puis colle l'entrée choisie. |
|
||||||
| `Ctrl+Shift+Alt+R` (`kitty_mod+alt+r`) | Restaure la session enregistrée à la dernière fermeture de kitty. |
|
| `Ctrl+Shift+Alt+R` (`kitty_mod+alt+r`) | Restaure la session enregistrée à la dernière fermeture de kitty. |
|
||||||
| `Ctrl+Shift+H` (`kitty_mod+H`) | Ouvre le panneau latéral de tous les raccourcis. |
|
| `Ctrl+Shift+Alt+H` (`kitty_mod+alt+h`) | Ouvre le panneau latéral de tous les raccourcis. |
|
||||||
|
|
||||||
Deux fonctions FWS ne demandent aucune touche :
|
Deux fonctions FWS ne demandent aucune touche :
|
||||||
|
|
||||||
@@ -286,7 +286,7 @@ avec la syntaxe `map <touche> <action>`.
|
|||||||
Dans le shell kitty (`Ctrl+Shift+Échap`), `help` sans argument ouvre un panneau
|
Dans le shell kitty (`Ctrl+Shift+Échap`), `help` sans argument ouvre un panneau
|
||||||
latéral qui liste tous les raccourcis actifs, classés par catégorie, avec une
|
latéral qui liste tous les raccourcis actifs, classés par catégorie, avec une
|
||||||
recherche rapide. Depuis un terminal : `kitty +kitten help` ; le raccourci
|
recherche rapide. Depuis un terminal : `kitty +kitten help` ; le raccourci
|
||||||
par défaut `Ctrl+Shift+H` (`kitty_mod+H`) ouvre le même panneau.
|
par défaut `Ctrl+Shift+Alt+H` (`kitty_mod+alt+h`) ouvre le même panneau.
|
||||||
|
|
||||||
| Touche | Action |
|
| Touche | Action |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
|
|||||||
@@ -302,7 +302,7 @@ _branch=feat/file-manager-panel
|
|||||||
### Publication automatique
|
### Publication automatique
|
||||||
|
|
||||||
`version`, à la racine, est la source de vérité des releases. Il suit la version
|
`version`, à la racine, est la source de vérité des releases. Il suit la version
|
||||||
du fork FWS (`0.1.13`), pas la version amont de kitty embarquée dans le paquet :
|
du fork FWS (`0.1.15`), pas la version amont de kitty embarquée dans le paquet :
|
||||||
c'est elle qui nomme le tag, la release et le paquet
|
c'est elle qui nomme le tag, la release et le paquet
|
||||||
`fws-kitty-<version>-<rel>`. Il doit rester égal à `pkgver` dans
|
`fws-kitty-<version>-<rel>`. Il doit rester égal à `pkgver` dans
|
||||||
`packaging/PKGBUILD` et à la version affichée par `fws-kitty`
|
`packaging/PKGBUILD` et à la version affichée par `fws-kitty`
|
||||||
|
|||||||
@@ -263,11 +263,21 @@ Detailed list of changes
|
|||||||
:kbd:`kitty_mod+H` is pressed. The panel can also be started with
|
:kbd:`kitty_mod+H` is pressed. The panel can also be started with
|
||||||
:code:`kitty +kitten help`.
|
:code:`kitty +kitten help`.
|
||||||
|
|
||||||
|
- The :doc:`file manager <kittens/file-manager>` can now be browsed with the
|
||||||
|
mouse: the wheel scrolls the list, a double click opens the entry under the
|
||||||
|
pointer like :kbd:`Enter` and a right click opens the action palette on the
|
||||||
|
clicked row.
|
||||||
|
|
||||||
- The in-place scrollback search got a usable default shortcut: it was bound
|
- The in-place scrollback search got a usable default shortcut: it was bound
|
||||||
to :kbd:`kitty_mod+shift+f`, the same physical key as :ac:`move_window_forward`
|
to :kbd:`kitty_mod+shift+f`, the same physical key as :ac:`move_window_forward`
|
||||||
(which allows the shifted fallback), so the last definition won and the search
|
(which allows the shifted fallback), so the last definition won and the search
|
||||||
never opened. It is now on :kbd:`kitty_mod+alt+s`.
|
never opened. It is now on :kbd:`kitty_mod+alt+s`.
|
||||||
|
|
||||||
|
- The keyboard shortcuts panel moved from :kbd:`kitty_mod+h` to
|
||||||
|
:kbd:`kitty_mod+alt+h`, so that :kbd:`Ctrl+Shift+H` browses the scrollback in
|
||||||
|
a pager again with :ac:`show_scrollback`, as documented. The two actions
|
||||||
|
shared the same default trigger and the panel silently took the key over.
|
||||||
|
|
||||||
- The keyboard shortcuts panel ellipsizes a long action name inside its own
|
- The keyboard shortcuts panel ellipsizes a long action name inside its own
|
||||||
column instead of letting the edge of the dock cut it, shrinks its key column
|
column instead of letting the edge of the dock cut it, shrinks its key column
|
||||||
on very narrow docks so that a row always fits, and shows the full name of
|
on very narrow docks so that a row always fits, and shows the full name of
|
||||||
|
|||||||
@@ -161,6 +161,16 @@ pas soumise.
|
|||||||
synchronisation reste inerte.
|
synchronisation reste inerte.
|
||||||
|
|
||||||
|
|
||||||
|
Souris
|
||||||
|
------
|
||||||
|
|
||||||
|
Le panneau se pilote aussi à la souris. La molette parcourt la liste par pas de
|
||||||
|
trois lignes, sans transmettre l'événement au terminal qui héberge le dock. Un
|
||||||
|
double-clic ouvre l'entrée sous le pointeur, comme :kbd:`Entrée` : un répertoire
|
||||||
|
est parcouru, un fichier est confié à l'éditeur. Un clic droit ouvre la palette
|
||||||
|
d'actions sur la ligne cliquée, identique au raccourci :kbd:`:`.
|
||||||
|
|
||||||
|
|
||||||
.. _file-manager-shortcuts:
|
.. _file-manager-shortcuts:
|
||||||
|
|
||||||
Raccourcis et configuration
|
Raccourcis et configuration
|
||||||
|
|||||||
@@ -6,14 +6,15 @@ Panneau d'aide aux raccourcis
|
|||||||
Le panneau d'aide affiche tous les raccourcis clavier actifs, triés par
|
Le panneau d'aide affiche tous les raccourcis clavier actifs, triés par
|
||||||
catégorie, avec une recherche rapide. Il s'ouvre dans un dock latéral, comme le
|
catégorie, avec une recherche rapide. Il s'ouvre dans un dock latéral, comme le
|
||||||
gestionnaire de fichiers, et reste en lecture seule : :kbd:`Entrée` ne déclenche
|
gestionnaire de fichiers, et reste en lecture seule : :kbd:`Entrée` ne déclenche
|
||||||
aucune action. Il est mappé sur :kbd:`kitty_mod+H` (:kbd:`Ctrl+Shift+H` par
|
aucune action. Il est mappé sur :kbd:`kitty_mod+alt+h`
|
||||||
défaut).
|
(:kbd:`Ctrl+Shift+Alt+H` par défaut), pour laisser :kbd:`kitty_mod+h` à
|
||||||
|
:ac:`show_scrollback`.
|
||||||
|
|
||||||
Utilisation
|
Utilisation
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Dans le :doc:`shell kitty </remote-control>` (:kbd:`Ctrl+Shift+Échap`), la commande
|
Dans le :doc:`shell kitty </remote-control>` (:kbd:`Ctrl+Shift+Échap`), la commande
|
||||||
``help`` sans argument ouvre le panneau, tout comme :kbd:`kitty_mod+H` dans
|
``help`` sans argument ouvre le panneau, tout comme :kbd:`kitty_mod+alt+h` dans
|
||||||
n'importe quelle fenêtre ::
|
n'importe quelle fenêtre ::
|
||||||
|
|
||||||
help
|
help
|
||||||
|
|||||||
@@ -228,6 +228,28 @@ func truncate_to_width(s string, max_width int) string {
|
|||||||
return string(runes) + "\u2026"
|
return string(runes) + "\u2026"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// wheel_scroll_lines is the number of rows one wheel notch scrolls. It sits
|
||||||
|
// between a single line, which makes a long directory tedious, and the default
|
||||||
|
// kitty wheel_scroll_multiplier of five, which skips too much in a panel.
|
||||||
|
const wheel_scroll_lines = 3
|
||||||
|
|
||||||
|
// double_click_interval is the largest gap between two clicks on the same row
|
||||||
|
// that still counts as a double click, matching kitty's click_interval default.
|
||||||
|
const double_click_interval = 500 * time.Millisecond
|
||||||
|
|
||||||
|
// click_tracker remembers the last click so that a second click on the same row
|
||||||
|
// opens it, while clicks on different rows stay single selections.
|
||||||
|
type click_tracker struct {
|
||||||
|
at time.Time
|
||||||
|
idx int
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *click_tracker) is_double(now time.Time, idx int) bool {
|
||||||
|
prev_at, prev_idx := c.at, c.idx
|
||||||
|
c.at, c.idx = now, idx
|
||||||
|
return idx == prev_idx && !prev_at.IsZero() && now.Sub(prev_at) <= double_click_interval
|
||||||
|
}
|
||||||
|
|
||||||
type Handler struct {
|
type Handler struct {
|
||||||
lp *loop.Loop
|
lp *loop.Loop
|
||||||
screen_size loop.ScreenSize
|
screen_size loop.ScreenSize
|
||||||
@@ -255,6 +277,7 @@ type Handler struct {
|
|||||||
sync *shell_sync
|
sync *shell_sync
|
||||||
sync_handled bool
|
sync_handled bool
|
||||||
sync_published bool
|
sync_published bool
|
||||||
|
clicks click_tracker
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *Handler) initialize() (string, error) {
|
func (h *Handler) initialize() (string, error) {
|
||||||
@@ -1088,13 +1111,42 @@ func (h *Handler) row_to_entry(cell_y int) int {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (h *Handler) on_mouse_event(ev *loop.MouseEvent) error {
|
func (h *Handler) on_mouse_event(ev *loop.MouseEvent) error {
|
||||||
|
// The palette owns the pointer while it is open, so clicks and wheel events
|
||||||
|
// do not change the selection behind it.
|
||||||
|
if h.palette_open && ev.Event_type != loop.MOUSE_MOVE {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
switch ev.Event_type {
|
switch ev.Event_type {
|
||||||
|
case loop.MOUSE_PRESS:
|
||||||
|
// Wheel notches arrive as presses carrying a wheel button. Moving the
|
||||||
|
// selection keeps the list scrolled to the row under it, without sending
|
||||||
|
// the event to the terminal that hosts the dock.
|
||||||
|
switch {
|
||||||
|
case ev.Buttons&loop.MOUSE_WHEEL_UP != 0:
|
||||||
|
h.move_selection(-wheel_scroll_lines)
|
||||||
|
case ev.Buttons&loop.MOUSE_WHEEL_DOWN != 0:
|
||||||
|
h.move_selection(wheel_scroll_lines)
|
||||||
|
}
|
||||||
case loop.MOUSE_CLICK:
|
case loop.MOUSE_CLICK:
|
||||||
if ev.Buttons&loop.LEFT_MOUSE_BUTTON != 0 {
|
switch {
|
||||||
|
case ev.Buttons&loop.LEFT_MOUSE_BUTTON != 0:
|
||||||
|
idx := h.row_to_entry(ev.Cell.Y)
|
||||||
|
if idx < 0 {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
h.selected = idx
|
||||||
|
if h.clicks.is_double(time.Now(), idx) {
|
||||||
|
h.activate()
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
h.draw_screen()
|
||||||
|
case ev.Buttons&loop.RIGHT_MOUSE_BUTTON != 0:
|
||||||
|
// The context menu is the action palette that :: already opens, so
|
||||||
|
// every panel action is reachable from the pointer too.
|
||||||
if idx := h.row_to_entry(ev.Cell.Y); idx >= 0 {
|
if idx := h.row_to_entry(ev.Cell.Y); idx >= 0 {
|
||||||
h.selected = idx
|
h.selected = idx
|
||||||
h.draw_screen()
|
|
||||||
}
|
}
|
||||||
|
h.open_palette()
|
||||||
}
|
}
|
||||||
case loop.MOUSE_MOVE:
|
case loop.MOUSE_MOVE:
|
||||||
h.lp.ClearPointerShapes()
|
h.lp.ClearPointerShapes()
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/kovidgoyal/kitty/tools/tui/loop"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSortEntriesDirectoriesFirstThenByName(t *testing.T) {
|
func TestSortEntriesDirectoriesFirstThenByName(t *testing.T) {
|
||||||
@@ -430,6 +432,47 @@ func TestEditArgsInWindow(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestRowToEntryAccountsForScroll(t *testing.T) {
|
||||||
|
h := &Handler{
|
||||||
|
screen_size: loop.ScreenSize{WidthCells: 40, HeightCells: 10},
|
||||||
|
entries: make([]Entry, 12),
|
||||||
|
scroll: 3,
|
||||||
|
}
|
||||||
|
// The list starts on row 2 and the status line takes the last row, so rows
|
||||||
|
// 2..8 display entries 3..9
|
||||||
|
cases := map[int]int{0: -1, 1: 3, 4: 6, 7: 9, 8: -1, 9: -1}
|
||||||
|
for cell_y, want := range cases {
|
||||||
|
if got := h.row_to_entry(cell_y); got != want {
|
||||||
|
t.Fatalf("cell Y %d: wanted entry %d, got %d", cell_y, want, got)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// A scroll past the end of the list maps to no entry rather than panicking
|
||||||
|
h.scroll = 20
|
||||||
|
if got := h.row_to_entry(1); got != -1 {
|
||||||
|
t.Fatalf("wanted no entry past the end of the list, got %d", got)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestClickTrackerDetectsDoubleClick(t *testing.T) {
|
||||||
|
start := time.Unix(1000, 0)
|
||||||
|
var c click_tracker
|
||||||
|
if c.is_double(start, 2) {
|
||||||
|
t.Fatal("a first click must not be a double click")
|
||||||
|
}
|
||||||
|
if !c.is_double(start.Add(200*time.Millisecond), 2) {
|
||||||
|
t.Fatal("a second click on the same row within the interval is a double click")
|
||||||
|
}
|
||||||
|
if c.is_double(start.Add(5*time.Second), 2) {
|
||||||
|
t.Fatal("a click after the interval must not be a double click")
|
||||||
|
}
|
||||||
|
if c.is_double(start.Add(5*time.Second+100*time.Millisecond), 7) {
|
||||||
|
t.Fatal("a click on another row must not be a double click")
|
||||||
|
}
|
||||||
|
if !c.is_double(start.Add(5*time.Second+200*time.Millisecond), 7) {
|
||||||
|
t.Fatal("the tracker must accept the row clicked last")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func TestTruncateToWidth(t *testing.T) {
|
func TestTruncateToWidth(t *testing.T) {
|
||||||
if got := truncate_to_width("abcdef", 3); got != "ab\u2026" {
|
if got := truncate_to_width("abcdef", 3); got != "ab\u2026" {
|
||||||
t.Fatalf("unexpected truncation %q", got)
|
t.Fatalf("unexpected truncation %q", got)
|
||||||
|
|||||||
@@ -424,10 +424,10 @@ handle_fast_commandline(CLISpec *cli_spec, const char *instance_group_prefix) {
|
|||||||
if (get_bool_cli_val(cli_spec, "version")) {
|
if (get_bool_cli_val(cli_spec, "version")) {
|
||||||
if (isatty(STDOUT_FILENO)) {
|
if (isatty(STDOUT_FILENO)) {
|
||||||
printf("\x1b[3mkitty\x1b[23m \x1b[32m%s\x1b[39m created by \x1b[1;34mKovid Goyal\x1b[22;39m\n", KITTY_VERSION);
|
printf("\x1b[3mkitty\x1b[23m \x1b[32m%s\x1b[39m created by \x1b[1;34mKovid Goyal\x1b[22;39m\n", KITTY_VERSION);
|
||||||
printf("\x1b[3mfws-kitty\x1b[23m \x1b[32m0.1.13\x1b[39m by \x1b[1;34mBlackAngelTV\x1b[22;39m\n");
|
printf("\x1b[3mfws-kitty\x1b[23m \x1b[32m0.1.15\x1b[39m by \x1b[1;34mBlackAngelTV\x1b[22;39m\n");
|
||||||
} else {
|
} else {
|
||||||
printf("kitty %s created by Kovid Goyal\n", KITTY_VERSION);
|
printf("kitty %s created by Kovid Goyal\n", KITTY_VERSION);
|
||||||
printf("fws-kitty 0.1.13 by BlackAngelTV\n");
|
printf("fws-kitty 0.1.15 by BlackAngelTV\n");
|
||||||
}
|
}
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4720,11 +4720,13 @@ map('Command palette', 'command_palette kitty_mod+f3 command_palette')
|
|||||||
|
|
||||||
map(
|
map(
|
||||||
'Keyboard shortcuts',
|
'Keyboard shortcuts',
|
||||||
'keyboard_shortcuts kitty_mod+h launch --type=window-dock --dock-edge=left --dock-size=60 kitty +kitten help',
|
'keyboard_shortcuts kitty_mod+alt+h launch --type=window-dock --dock-edge=left --dock-size=60 kitty +kitten help',
|
||||||
long_text="""
|
long_text="""
|
||||||
Open the searchable keyboard shortcuts panel in a dock at the left edge of the
|
Open the searchable keyboard shortcuts panel in a dock at the left edge of the
|
||||||
current window. It can also be launched manually with :code:`kitty +kitten help`.
|
current window. It can also be launched manually with :code:`kitty +kitten help`.
|
||||||
The default binding is :kbd:`kitty_mod+h` (:kbd:`Ctrl+Shift+H` by default).
|
The default binding is :kbd:`kitty_mod+alt+h` (:kbd:`Ctrl+Shift+Alt+H` by
|
||||||
|
default), so that :kbd:`kitty_mod+h` keeps browsing the scrollback in a pager
|
||||||
|
with :ac:`show_scrollback`.
|
||||||
""",
|
""",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Generated
+1
-1
@@ -1041,7 +1041,7 @@ defaults.map = [
|
|||||||
# file_manager
|
# file_manager
|
||||||
KeyDefinition(trigger=SingleKey(mods=5, key=101), definition='launch --type=window-dock --dock-edge=left --dock-size=60 kitten file-manager'),
|
KeyDefinition(trigger=SingleKey(mods=5, key=101), definition='launch --type=window-dock --dock-edge=left --dock-size=60 kitten file-manager'),
|
||||||
# keyboard_shortcuts
|
# keyboard_shortcuts
|
||||||
KeyDefinition(trigger=SingleKey(mods=5, key=104), definition='launch --type=window-dock --dock-edge=left --dock-size=60 kitty +kitten help'),
|
KeyDefinition(trigger=SingleKey(mods=258, key=104), definition='launch --type=window-dock --dock-edge=left --dock-size=60 kitty +kitten help'),
|
||||||
# toggle_fullscreen
|
# toggle_fullscreen
|
||||||
KeyDefinition(trigger=SingleKey(mods=256, key=57374), definition='toggle_fullscreen'),
|
KeyDefinition(trigger=SingleKey(mods=256, key=57374), definition='toggle_fullscreen'),
|
||||||
# toggle_maximized
|
# toggle_maximized
|
||||||
|
|||||||
@@ -29,6 +29,20 @@ class TestConfParsing(BaseTest):
|
|||||||
def test_conf_parsing(self):
|
def test_conf_parsing(self):
|
||||||
conf_parsing(self)
|
conf_parsing(self)
|
||||||
|
|
||||||
|
def test_default_shortcuts_have_no_duplicate_trigger(self):
|
||||||
|
from kitty.config import load_config
|
||||||
|
|
||||||
|
opts = load_config(overrides=())
|
||||||
|
keymap = opts.keyboard_modes[''].keymap
|
||||||
|
# The file manager deliberately takes kitty_mod+e over from open_url, a
|
||||||
|
# decision documented in the changelog. Every other collision means the
|
||||||
|
# last definition wins silently and one of the two actions is unreachable.
|
||||||
|
accepted = {frozenset(('launch', 'open_url_with_hints'))}
|
||||||
|
for key, defns in keymap.items():
|
||||||
|
actions = {d.definition.split()[0] for d in defns}
|
||||||
|
if len(actions) > 1 and frozenset(actions) not in accepted:
|
||||||
|
self.fail(f'{key!r} is claimed by several actions: {sorted(actions)}')
|
||||||
|
|
||||||
def test_default_search_shortcut(self):
|
def test_default_search_shortcut(self):
|
||||||
from kitty.config import load_config
|
from kitty.config import load_config
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -13,7 +13,7 @@
|
|||||||
pkgname=fws-kitty
|
pkgname=fws-kitty
|
||||||
# Fork version from the version file: it names the release and the package.
|
# Fork version from the version file: it names the release and the package.
|
||||||
# The upstream kitty release built inside is tracked by _kittyver below.
|
# The upstream kitty release built inside is tracked by _kittyver below.
|
||||||
pkgver=0.1.13
|
pkgver=0.1.15
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Fast, feature-rich, GPU based terminal (FWS fork with the file-manager kitten)'
|
pkgdesc='Fast, feature-rich, GPU based terminal (FWS fork with the file-manager kitten)'
|
||||||
arch=('x86_64' 'aarch64')
|
arch=('x86_64' 'aarch64')
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ func ShowError(err error) {
|
|||||||
|
|
||||||
func (self *Command) version_string(formatter *markup.Context) string {
|
func (self *Command) version_string(formatter *markup.Context) string {
|
||||||
return fmt.Sprintln(formatter.Italic(self.CommandStringForUsage()), formatter.Opt(kitty.VersionString+kitty.VersionSuffix), "created by", formatter.Title("Kovid Goyal")) +
|
return fmt.Sprintln(formatter.Italic(self.CommandStringForUsage()), formatter.Opt(kitty.VersionString+kitty.VersionSuffix), "created by", formatter.Title("Kovid Goyal")) +
|
||||||
fmt.Sprintln(formatter.Italic("fws-kitty"), formatter.Opt("0.1.13"), "by", formatter.Title("BlackAngelTV"))
|
fmt.Sprintln(formatter.Italic("fws-kitty"), formatter.Opt("0.1.15"), "by", formatter.Title("BlackAngelTV"))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *Command) ShowVersion() {
|
func (self *Command) ShowVersion() {
|
||||||
|
|||||||
Reference in new issue
Block a user