Commit c457ae4
committed
Generalize save prompt on close code into method
This slightly changes the open and term command to be similar with the
Quit action, where the buffer or pane is replaced after the prompts are
completed if "n" wasn't pressed after the 1st prompt.1 parent 0d5b2b7 commit c457ae4
2 files changed
Lines changed: 17 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1907 | 1907 | | |
1908 | 1908 | | |
1909 | 1909 | | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
1910 | 1922 | | |
1911 | 1923 | | |
1912 | 1924 | | |
| |||
1916 | 1928 | | |
1917 | 1929 | | |
1918 | 1930 | | |
1919 | | - | |
1920 | | - | |
1921 | | - | |
1922 | | - | |
1923 | | - | |
1924 | | - | |
1925 | | - | |
1926 | | - | |
| 1931 | + | |
| 1932 | + | |
1927 | 1933 | | |
1928 | 1934 | | |
1929 | 1935 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
| 312 | + | |
320 | 313 | | |
321 | 314 | | |
322 | 315 | | |
| |||
1122 | 1115 | | |
1123 | 1116 | | |
1124 | 1117 | | |
1125 | | - | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
| 1118 | + | |
| 1119 | + | |
1132 | 1120 | | |
1133 | 1121 | | |
1134 | 1122 | | |
| |||
0 commit comments