Skip to content

Commit

Permalink
* ui_main_config.c: Add --winsize / output_xtwinops_in_resizing option.
Browse files Browse the repository at this point in the history
* vt_pty.h, vt_pty_win32.c:
  - vt_set_use_conpty() -> vt_pty_win32_set_options()
  - Remove hack to send resizing info to plink.
* win32/plink: Removed.
* vte.c: vte_terminal_set_font_from_string() updates
  ui_screen_t::width and ui_screen_t::height.
  • Loading branch information
arakiken committed Nov 21, 2023
1 parent 7d73cb4 commit 0f79836
Show file tree
Hide file tree
Showing 11 changed files with 1,631 additions and 352 deletions.
13 changes: 13 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
2023-11-21 Araki Ken <arakiken@users.sf.net>

* ui_main_config.c: Add --winsize / output_xtwinops_in_resizing option.

* vt_pty.h, vt_pty_win32.c:
- vt_set_use_conpty() -> vt_pty_win32_set_options()
- Remove hack to send resizing info to plink.

* win32/plink: Removed.

* vte.c: vte_terminal_set_font_from_string() updates
ui_screen_t::width and ui_screen_t::height.

2023-11-12 Araki Ken <arakiken@users.sf.net>

* README, README.ja, man/mlterm.1: Updated.
Expand Down
5 changes: 5 additions & 0 deletions doc/ja/README.ja
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,10 @@ comment -*- mode: text; tab-width:2; indent-tabs-mode:nil; coding:euc-jp -*-

esc �ξ���"0x1b"����Ϥ���8bit �ξ�������ʸ����8�ӥå��ܤ򤿤Ƥޤ���

o output_xtwinops_in_resizing (true/*false*) (win32 ��)
pipe ��ͳ�ǻҥץ��������̿������硢���̥ꥵ�������� XTWINOPS ��������
�Dz��̥�������ҥץ��������������롣

o parent_window (*0*)
�� Window �� Window ID �����

Expand Down Expand Up @@ -1624,6 +1628,7 @@ comment -*- mode: text; tab-width:2; indent-tabs-mode:nil; coding:euc-jp -*-
--recvdir=value : receive_directory
--fk(=bool) : format_other_keys
--sdpr=value : simple_scrollbar_dpr
--winsize(=bool): output_xtwinops_in_resizing (win32 ��)
--conpty(=bool) : use_conpty (win32 ��)
--chsel(=bool) : change_selection_immediately (mlterm and mlterm-wl �ʳ���)
--point=value : use_point_size
Expand Down
7 changes: 4 additions & 3 deletions gtk/vte.c
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,8 @@ static void vte_terminal_class_init(VteTerminalClass *vclass) {
/*
* Call final() in vt_pty_win32.c to terminate child processes.
* Without this, child processes survive even if all windows are closed by
* pressing X button.
* pressing X button (GtkWindow (gtk_widget_get_toplevel(widget)) doesn't
* receive "destroy" signal).
*/
g_atexit(vt_term_manager_final);
#endif
Expand Down Expand Up @@ -3747,9 +3748,9 @@ void vte_terminal_set_font_from_string(VteTerminal *terminal, const char *name)
* or widget->requisition is not set correctly in
* reset_vte_size_member.
*/
PVT(terminal)->screen->window.width =
PVT(terminal)->screen->width = PVT(terminal)->screen->window.width =
ui_col_width(PVT(terminal)->screen) * vt_term_get_cols(PVT(terminal)->term);
PVT(terminal)->screen->window.height =
PVT(terminal)->screen->height = PVT(terminal)->screen->window.height =
ui_line_height(PVT(terminal)->screen) * vt_term_get_rows(PVT(terminal)->term);

PVT(terminal)->screen->window.width_inc = PVT(terminal)->screen->window.min_width =
Expand Down
Loading

0 comments on commit 0f79836

Please sign in to comment.